This function indicates if a specified script is currently running.
Parameter: script
name
Type: string
Description: This is the name of the script to check.
Return value: status
Type: boolean
Description: This returns TRUE if the
specified script is currently running and FALSE if it doesn't.
' check if the script "weather.txt" is running
if
hs.IsScriptRunning("weather.txt") then
hs.writelog
"info","The weather script is still running"
end if