IsRunning

Description:              Check if a Program is running. This function returns an indication of whether a certain program is currently running on the same computer.

Returns:                    Boolean

Usage:                       Script

Format:                      IsRunning(Program)

Parameters:             Program    { text }  { required }  { no default }

                                                Any text expression giving the program name to test (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.

See Also:

DDE | Spawn