Platforms to show: All Mac Windows Linux Cross-Platform
Back to ProcessMBS class.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Process | MBS Util Plugin | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
Unit is 1/60 of a second.
On Mac OS X this value is not available and normally 0.
(Read only property)
Some examples using this property:
ProcessMBS.CurrentProcess as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Process | MBS Util Plugin | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
This should always be true because you are running Xojo as the current ProcessMBS while you ask for this.
(Read only property)
Some examples using this property:
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Process | MBS Util Plugin | 4.1 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
Returns 0 on any error.
Process mode flags. These flags indicate whether the process is an application or desk accessory. For applications, this field also returns information specified in the application's 'SIZE' resource. This information is returned as flags. You can refer to these flags by using these constants:
modeDeskAccessory | &h00020000 |
modeMultiLaunch | &h00010000 |
modeNeedSuspendResume | &h00004000 |
modeCanBackground | &h00001000 |
modeDoesActivateOnFGSwitch | &h00000800 |
modeOnlyBackground | &h00000400 |
modeGetFrontClicks | &h00000200 |
modeGetAppDiedMsg | &h00000100 |
mode32BitCompatible | &h00000080 |
modeHighLevelEventAware | &h00000040 |
modeLocalAndRemoteHLEvents | &h00000020 |
modeStationeryAware | &h00000010 |
modeUseTextEditServices | &h00000008 |
ProcessMBS.FrontProcess as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Process | MBS Util Plugin | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
This property is for read and write. Writing to it brings the Process to front.
(Read and Write property)
Some examples using this property:
ProcessMBS.lasterror as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Process | MBS Util Plugin | 3.1 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
As this property is introduced with MBS Plugin 3.1, only a few functions set it.
0 means no error, -1 means not available and anything else is a Mac OS error code.
(Read and Write property)
ProcessMBS.LaunchProcess as ProcessMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Process | MBS Util Plugin | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
For some applications like the "loginwindow" it is nil, because there was no app to launch it other than the system itself.
(Read only property)
Some examples using this property:
ProcessMBS.MacCreator as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Process | MBS Util Plugin | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
(Read only property)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Process | MBS Util Plugin | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
Possible values:
"APPL" | normal application |
"appe" | background application (Classic) |
"APPC" | Control panel application (Classic) |
"APPD" | Desktop Accessory (Classic) |
"FNDR" | Finder |
(Read only property)
ProcessMBS.MemoryFree as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Process | MBS Util Plugin | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
On Mac OS X normally 0.
(Read only property)
Some examples using this property:
ProcessMBS.MemorySize as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Process | MBS Util Plugin | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
On Mac OS X normally 0.
(Read only property)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Process | MBS Util Plugin | ✅ Yes | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
Added Windows support in MBS Plugin 2.7 for this property.
(Read only property)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Process | MBS Util Plugin | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
Maybe nil if not available.
Use this folderitem to get an icon for the Process.
(and this icon may be nil!)
(Read only property)
ProcessMBS.ProcessID as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Process | MBS Util Plugin | ✅ Yes | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
Works only on Mac OS X.
See the "CPU Focus" application for an example.
Note that this call does not make sense for Classic applications, since they all share a single UNIX process ID.
(Read only property)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Process | MBS Util Plugin | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
Works only on Mac OS X.
Returns false if not supported.
Sets the lasterror property.
(Read and Write property)
The items on this page are in the following plugins: MBS Util Plugin.