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 

How to control a Control ...

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Wish List
View previous topic :: View next topic  
Author Message
Beastmaster



Joined: 15 Apr 2004
Posts: 182

PostPosted: Thu Jul 08, 2004 4:45 pm    Post subject: How to control a Control ... Reply with quote

I'd an issue on which Chris has recommended to use the 15+ command ControlGetPos to get a controls position to move/click onto it.
The main thing I like about the control commands is that the assigned window hasn't to be active or fully displayed to trigger the control.

Unfortunately, to know the position of the control itself won't work in this case as I've to click a specific section on it ("No. Lines"). The control uses a single name and therefore seems not to be able to identify to which of its parts a ControlSend should be directed.

So it needs the mouse to do that click. And for that reason that specific window has to be fully available, but that's another story Mad

I thought about a "tiny" tweak on the ControlClick command Cool

ControlClick [, X, Y, Control, WinTitle, WinText, WhichButton, ClickCount, Hold/Release?, ExcludeTitle, ExcludeText]
(These coordinates are relative to the target control).



Sounds like another weird request, isn't it Wink


Last edited by Beastmaster on Thu Jul 08, 2004 8:28 pm; edited 1 time in total
Back to top
View user's profile Send private message
Chris
Site Admin


Joined: 02 Mar 2004
Posts: 10463

PostPosted: Thu Jul 08, 2004 6:43 pm    Post subject: Reply with quote

It's not a strange request, beardboy mentioned something similar. It's a good idea and easy to change, so I've done so. This change and a few others have been applied as described at http://www.autohotkey.com/forum/viewtopic.php?p=2242#2242
Back to top
View user's profile Send private message Send e-mail
Beastmaster



Joined: 15 Apr 2004
Posts: 182

PostPosted: Thu Jul 08, 2004 8:27 pm    Post subject: Reply with quote

1h:58min have passed and you've solved it. Halleluja. I must be in heaven. Thx Chris Very Happy Very Happy Very Happy
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Wish List 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