Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to Start & Stop a Macro based on Time
#5
can always create a launcher function that will start and stop your macro

must be a function

Function Launcher
Code:
Copy      Help
int IsSet
rep
,DateTime dt
,dt.FromComputerTime
,str t= dt.ToStr(2)
,if t="8:00 AM" and IsSet=0
,,mac "YourMacroName";;change name to your macro or function name
,,IsSet=1
,if t="8:00 PM"
,,shutdown -6 0 "YourMacroName";;change name to your macro or function name
,,IsSet=0
,5


Messages In This Thread
RE: How to Start & Stop a Macro based on Time - by Kevin - 10-19-2019, 08:24 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)