Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
close a program that is running
#1
I have to close a program that is running on a regular schedule, about every 3 hours and would like to use quickmacros to do it. I have recorded macros with the software but is there a command I can use instead of using mouse clicks (in case the task bar icon is in a different position) and how would I identify the program, by its .exe path? Sorry I am a web designer but total newbie with macros.
#2
If using a window trigger to run the macro automatically when the window is created, usually this code can be used in the macro:
int hwnd=TriggerWindow
clo hwnd

Or look in floating toolbar -> Windows,controls -> Window/control actions -> Close.

If the program does not have windows:
ShutDownProcess "programName"


Forum Jump:


Users browsing this thread: 1 Guest(s)