Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
input box
#1
Hi Gintaras, hi all

is there an esay way to have an input box setting the mouse cursor to the ok button automagically?

Thanks
#2
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     Help - how to add the trigger to the macro
Code:
Copy      Help
int hwnd=TriggerWindow
mou 0.5 0.5 id(1 hwnd) 1

Macro Macro2788
Code:
Copy      Help
int ok=inp(_s "" "# Input")
#3
QM inp function..

will try..

maybe enhanced version in next QM?


Forum Jump:


Users browsing this thread: 1 Guest(s)