Posts: 795
Threads: 136
Joined: Feb 2009
Hi Gintaras, hi all
is there an esay way to have an input box setting the mouse cursor to the ok button automagically?
Thanks
Posts: 12,097
Threads: 142
Joined: Dec 2002
A single input box? Or all created by function inp?
Try a window trigger. But how to recognize an input box? Maybe add some string in window name.
Function
mouse_move_to_ok_button
Trigger
!ca"#*" "#32770" "" "" "" 0x2
int hwnd=TriggerWindow
mou 0.5 0.5 id(1 hwnd) 1
Macro
Macro2788
int ok=inp(_s "" "# Input")
Posts: 795
Threads: 136
Joined: Feb 2009
QM inp function..
will try..
maybe enhanced version in next QM?