AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Select All

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
Demokos



Joined: 28 Dec 2005
Posts: 84

PostPosted: Fri Oct 27, 2006 8:48 pm    Post subject: Select All Reply with quote

Can you please say me what is(are) the message(s) (and the order of them if there is more that one) to use with Send/PostMessage to do a SelectAll (^a) before a WM_COPY, and with which parameters ? Thanks by advance for your answers.
Back to top
View user's profile Send private message
Demokos



Joined: 28 Dec 2005
Posts: 84

PostPosted: Sat Oct 28, 2006 8:23 am    Post subject: Reply with quote

Nobody knows Question
Back to top
View user's profile Send private message
PhiLho



Joined: 27 Dec 2005
Posts: 6721
Location: France (near Paris)

PostPosted: Sat Oct 28, 2006 11:14 am    Post subject: Reply with quote

Send ^a
Even this isn't guarantee to work on all applications, because it has to be coded in the program itself.
So there is no universal order to tell "Select All", even more as it depends on the target control (edit, list view, custom control?).
If the control is a simple Edit or RichEdit, there are EM_ messages to control the selection, you have to search for them.
_________________
vPhiLho := RegExReplace("Philippe Lhoste", "^(\w{3})\w*\s+\b(\w{3})\w*$", "$1$2")
Back to top
View user's profile Send private message Visit poster's website
SKAN



Joined: 26 Dec 2005
Posts: 5790

PostPosted: Sat Oct 28, 2006 11:51 am    Post subject: Reply with quote

PhiLho wrote:
So there is no universal order to tell "Select All", even more as it depends on the target control (edit, list view, custom control?).


I was wondering .. Thanks for the Info. Smile
_________________
SKAN - Suresh Kumar A N
Back to top
View user's profile Send private message
Demokos



Joined: 28 Dec 2005
Posts: 84

PostPosted: Sat Oct 28, 2006 12:20 pm    Post subject: Reply with quote

PhiLho wrote:
So there is no universal order to tell "Select All", even more as it depends on the target control (edit, list view, custom control?).

Thanks PhiLho. I didn't knew that, too. I thought there was a "universal" method, as for copy, cut and paste, with something like WM_GETTEXTLENGTH and WM_GETTEXT, but I made some try and never succeed.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group