Hi, i don't know if this problem is known.
The code is:
Code:
...
Gui, Show, AutoSize Hide, Command:
DetectHiddenWindows, On
ControlGet, cId, Hwnd,, Edit1, Command:
DetectHiddenWindows, Off
...
This should work because the help says
"To operate upon a control's HWND (window handle), leave the Control parameter blank and specify ahk_id %ControlHwnd% for the WinTitle parameter (this also works on hidden controls even when DetectHiddenWindows is Off)"Code:
...
ControlSend, , ^a, ahk_id %cId%
WinShow, Command:
...
I tried also
Code:
...
DetectHiddenWindows, On
ControlSend, Edit1, ^a, Command:
DetectHiddenWindows, Off
WinShow, Command:
...
But with no success. What i need to do is to select text before the windows is showed. In Vista, this works, but not in XP.
It's a bug?