Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Single/Double Mouse Window Trigger
#4
I'm doing this again but it seems to fire the "single" branch and then starts again to execute the "double" branch. 
Is it possible that the version 2.4.11.0 won't run this code correctly?  It is quite old when I started this thread.


Macro retry
Trigger #1m     Help - how to add the trigger to the macro
Code:
Copy      Help
int+ g_18243
_i=GetTickCount
int isDouble=GetTickCount-g_18243<500; g_18243=GetTickCount

if isDouble
,;out "double"
,act win(" - Visual Studio Code" "Chrome_WidgetWin_1" "Code")
else
,;out "single"
,act win("EditPad Pro 7" "TFormEditPadPro7" "EditPadPro7")
An old blog on QM coding and automation.

The Macro Hook


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)