IsRunning

(Engine-Level Function)

Description: Check if an external program is running. This function returns an indication of whether a named program is running on the same computer.
Returns: Boolean
Usage: Script only.
Function Groups: Software and Hardware
Related to: DDE | Spawn
Format: IsRunning(Program)
Parameters:  
Program
Required. Any text expression giving the program name to test (with or without the .EXE extension).
Comments: This function returns 1 if the specified program is running on the same computer.
If running under 32-bit, this statement will only be valid if the value of Program refers to another 32-bit process.

Example:

  If ! Valid(running);
  [
    running = IsRunning("Excel");
  ]

After executing this statement, the variable running will have a value of 1 if the program Microsoft™ Excel is running and a 0 if not.