The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 895 - File: showthread.php PHP 7.2.34 (Linux)
File Line Function
/showthread.php 895 errorHandler->error




Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Create scheduled task to run a macro or program
#1
Macro ScheduledTask help
Code:
Copy      Help
;Creates Windows Task Scheduler task to run a macro or a program.
;You can add one or more schedules of any type to the task.
;Also you can Delete a task.
;Creates/deletes tasks configured for Windows XP/2000/2003, in the same way as QM when you manually create/delete a task using the Properties dialog in QM.
;If after creating a task the schedule is not displayed in QM until it restarts, install QM 2.3.5.3 or later.

;EXAMPLE

#compile "__ScheduledTask"
ScheduledTask x
x.Create("Macro1998")
x.ScheduleOnce("9:00")
x.Save

Currently QM does not display the schedule in the list of macros until restarted. This will be added in next version - QM 2.3.5.3. Will not need to update the code, just install new QM when available.


Attached Files
.qml   ScheduledTask.qml (Size: 11.23 KB / Downloads: 1,203)


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)