the code I use is this :
Code: Select all
ControlGetText, Position, Edit1, - Excel
Code: Select all
ControlGetText, Position, Edit1, - Excel
Code: Select all
q::
ControlGetPos , X, Y, Width, Height, Edit1, ahk_class XLMAIN
MouseMove , X + Width/2, Y + Height/2
Return
It works fine when I use the controlclick and controlsettext, but it doesn't work when I use controlgettext.Rohwedder wrote:Hallo,
my Excel 2010 has Edit1
look:Code: Select all
q:: ControlGetPos , X, Y, Width, Height, Edit1, ahk_class XLMAIN MouseMove , X + Width/2, Y + Height/2 Return
Users browsing this forum: Descolada and 286 guests