bonespro
-
Posts
2 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Posts posted by bonespro
-
-
I own Macro Express Pro and I am trying to create a macro that stops after a specific time captured from the computer system time.
For example: After 2:00 AM STOP the macro otherwise just continue. . I need to put it into the macro because I need to stop after other events have been launched (so not using a schedule).
So basically I started with something like this but it is not working:
[this is the rest of the macro] Date/Time: Set %T1[1]% to the current date/time using "hh':'nn':'ss ampm" as the format If variable %T[1]% is Greater Than "2:00:00 am" Program Shut Down: notepad Macro Stop Else End If [this is the rest of the macro]
Any help would be very much appreciated!
Stop Macro after a specific time
in Macro Express and Macro Express Pro
Posted
Thanks for the responses. I am defiantly not a programmer just trying to do something simple.
Cory,
I added the code straight into Macro Express and I get "Line 5: Debug Error: undefined variable or the variable is the wrong type."
Is there a setting I need to set or am I adding the macro correctly.