Platforms to show: All Mac Windows Linux Cross-Platform
Back to SMAppServiceMBS class.
SMAppServiceMBS.agentService(plistName as String) as SMAppServiceMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Login Items | MBS MacCF Plugin | 23.0 | ✅ Yes | ❌ No | ❌ No | ❌ No | All |
plistName: The name of the property list corresponding to the SMAppService.
The property list name must correspond to a property list in the calling app’s Contents/Library/LaunchAgents directory.
SMAppServiceMBS.daemonService(plistName as String) as SMAppServiceMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Login Items | MBS MacCF Plugin | 23.0 | ✅ Yes | ❌ No | ❌ No | ❌ No | All |
plistName: The name of the property list corresponding to the SMAppService.
Returns an SMService object
The property list name must correspond to a property list in the calling app’s Contents/Library/LaunchDaemons directory
SMAppServiceMBS.loginItemService(identifier as String) as SMAppServiceMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Login Items | MBS MacCF Plugin | 23.0 | ✅ Yes | ❌ No | ❌ No | ❌ No | All |
identifier: The bundle identifier of the helper application.
Returns an SMService object.
The property list name must correspond to a property list in the calling app’s Contents/Library/LoginItems directory.
SMAppServiceMBS.mainAppService as SMAppServiceMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Login Items | MBS MacCF Plugin | 23.0 | ✅ Yes | ❌ No | ❌ No | ❌ No | All |
Use this SMAppServiceMBS to configure the main app to launch at login.
SMAppServiceMBS.openSystemSettingsLoginItems
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Login Items | MBS MacCF Plugin | 23.0 | ✅ Yes | ❌ No | ❌ No | ❌ No | All |
SMAppServiceMBS.statusForLegacyFile(File as FolderItem) as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Login Items | MBS MacCF Plugin | 23.0 | ✅ Yes | ❌ No | ❌ No | ❌ No | All |
File: The folderitem of the helper executable’s property list.
Returns one of the SMAppServiceStatus constants that indicate the current authorization status.
SMAppServiceMBS.statusForLegacyURL(URL as String) as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Login Items | MBS MacCF Plugin | 23.0 | ✅ Yes | ❌ No | ❌ No | ❌ No | All |
url: The URL of the helper executable’s property list.
Returns one of the SMAppServiceStatus constants that indicate the current authorization status.
The items on this page are in the following plugins: MBS MacCF Plugin.