Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   Crossplatform   Server (Not)   Client   Components   Old   Guides
New in version: 5.0   5.1   5.2   5.3   5.4   6.0   6.1   6.2   6.3   6.4   6.5   7.0   7.1    Statistic  

Process.IsRunning

Checks if a process is running.

Component: Process
Version: 4.0
Mac OS X: Yes
Windows: No
Server: Yes
FileMaker Cloud: No

MBS( "Process.IsRunning"; Process )

Parameters

Parameter Description Example value
Process Either a number with process ID or a process name or a bundle ID. 123

Result

Returns 0, 1 or error.

Description

Checks if a process is running.
Returns 1 if process is found in process list or 0 if not.

Examples

Check if Safari is running by name:

MBS( "Process.IsRunning"; "Safari" )

Check if Safari is running by bundle ID:

MBS( "Process.IsRunning"; "com.apple.safari" )


Process.IsFrontMost   -   Process.KeepFrontMost

Feedback: Report problem or ask question.




Links
MBS FileMaker Plugins - Pfarrgemeinde St. Arnulf Nickenich