Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Trouble Migrating AHK Scripts to QM
#2
To create QM script that does the same as this AHK script, use this dialog: floating toolbar -> Files,web -> Run program.

Quote: I can't seem to get it to activate the previous window and move the mouse to the center of that previous window
Get current window handle before clicking the tray icon. Activate it after.

int w=win
rig 39 18 id(1504 win("" "Shell_TrayWnd")) 1 ;;tool bar 'User Promoted Notification ...', push button 'SliderDock'
lef 83 33 wait(15 WV win("" "WindowsForms10.Window.20808.app.0.1a6f050")) 1 ;;menu item 'show/hide'
act w
mou 0.5 0.5 w

Quote:how to send that type of input to SliderDock
QM does not have a more low-level function to send keys. key() in QM probably works like Send() in AutoIt.


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)