Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Single/Double Mouse Window Trigger
#3
Awesome, just combined them.
Macro Act Chrome
Trigger #6m1 0x4     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
ifi- win(" - Google Chrome" "Chrome_WidgetWin_1" "chrome")
,run "$program files$\Google\Chrome\Application\chrome.exe" "" "" "*" ;;Google Chrome

if isDouble
,out "double"
,act win(" - Google Chrome" "Chrome_WidgetWin_1" "chrome")
,MoveWindowToMonitor win() 2 2
else
,act win(" - Google Chrome" "Chrome_WidgetWin_1" "chrome")
An old blog on QM coding and automation.

The Macro Hook


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)