$bool = Fs.Start
Spawns an application from the IVR script.
<appName> Application name.
<modeSync> Mode of synchronization: blocking (modeSync=TRUE) and non-blocking (modeSync=FALSE).
Returns TRUE if successful, else returns FALSE.
- For modeSync TRUE, the IVR script gets blocked; the function waits for the application to complete before it proceeds further. On the other hand, when modeSync is FALSE the function returns immediately and resumes the script execution on initiating the application; the function is not blocked by any other program execution.
$src = "C:\ivr\File.txt"
$status = fs.Start ($src,TRUE)
- $status contains 1. Here, the function calls notepad.exe with "c:\ivr\File.txt" as its argument and waits for the notepad to exit.