Beastmaster
Joined: 15 Apr 2004 Posts: 182
|
Posted: Thu Jul 08, 2004 4:45 pm Post subject: How to control a Control ... |
|
|
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
I thought about a "tiny" tweak on the ControlClick command
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 
Last edited by Beastmaster on Thu Jul 08, 2004 8:28 pm; edited 1 time in total |
|