![]() Public Function RunScript( ByVal scr As String, ByVal Wait As Boolean, ByVal SingleInstance As Boolean) As Object Purpose If hs.IsScriptRunning("weather.txt") then hs.writelog "info","The weather script is still running" end if ' check if the script "weather.txt" is running Return value: status Type: boolean Description: This returns TRUE if the specified script is currently running and FALSE if it doesn't. Parameter: script name Type: string Description: This is the name of the script to check. This function indicates if a specified script is currently running. 2:00:00 PM~!~Script Path~!~C:\Program Files\HomeSeer\scripts\Includes Purpose Or for a script run from the scripts\Includes directory: 2:00:00 PM~!~Script Path~!~C:\Program Files\HomeSeer\scripts\ Hs.WriteLog "Script Path", hs.GetScriptPath This function r eturns the path to the directory that the last script was run from. The below information is being reconfigured for better accuracy and easier readability.
0 Comments
Leave a Reply. |