About This File
Extensive library to control and manipulate Microsoft Task Scheduler Service.
- Please check this site for the implementation status!
- Please check the History.txt file in the archive for the changelog.
- Please check the WIKI for details about how to use the UDF.
BTW: If you like this UDF please click the "I like this" button. This tells me where to next put my development effort
KNOWN BUGS (last changed: 2021-02-03)
- None
Things to come (last changed: 2021-02-03)
- None
What's New in Version 1.6.1.0
Released
GENERAL
- Enhanced documentation in the source code all over the UDF.
- Fixed some minor documentation bugs (thanks to user c.haslam)
- Replaced some magic numbers with constants.
FIXED BUGS
- _TS_TaskPropertiesGet: State $TASK_STATE_READY was processed like state $TASK_STATE_QUEUED due to an copy&paste error (thanks to user c.haslam).
CHANGED FUNCTIONS
- _TS_TaskExportXML: Now returns @error = 1503 when there is an error creating the XML object.
- _TS_TaskImportXML: Now returns @error = 1705 when $vXMLInput does not exist or there was an error reading the file.
NEW FUNCTIONS
-
_TS_IsRunFromTaskScheduler: This former experimental function has been renamed to _TS_IsRunFromTS for better readability.
The new function is now part of the full UDF and does not need to be enabled before using.
It no longer uses _WinAPI_GetParentProcess but WMI which leads to smaller code (saved 1500 lines of code).
An example script has been added as well.