Code: Select all
Gui,Add,Edit,w100
Gui,Add,Edit,w100 hwndh, ToolTip when get focus
Gui,Show
OnMessage(WM_COMMAND:=0x111,"f")
return
a::Send {Tab}
f(w,l){
global h
if((l=h) && ((w>>16)=0x0100)) ;EN_SETFOCUS
ToolTip SetFocus
}
GuiClose:
ExitApp
- a::Tab which use SetKeyDelay -1. SendPlay use SetKeyDelay -1, but can't neither.
- Put a::Send {Tab} in another script (new process).
I want to focus on next tab-order control, and let GUI to get message.