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 :x
I thought about a "tiny" tweak on the ControlClick command 8)
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:
How to control a Control ...
2 replies to this topic
Posted 08 July 2004 - 07:27 PM
1h:58min have passed and you've solved it. Halleluja. I must be in heaven. Thx Chris