Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[solved] run macro periodically
#1
Hi,

How do I make a macro run every 15 minutes for specific program once that program is loaded?
#2
Function Function272
Trigger !cv"Untitled - Notepad" "Notepad"     Help - how to add the trigger to the macro
Code:
Copy      Help
int hwnd=val(_command)
wait 1
rep
,if(!IsWindow(hwnd)) break
,act hwnd
,
,out "your"
,out "macro"
,out "here"
,
,wait 15*60
#3
Could you explain what this is? I can't find anything meaningful on it.

int hwnd=val(_command)
#4
It gets trigger window handle. The trigger is "window created and visible".


Forum Jump:


Users browsing this thread: 1 Guest(s)