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
Initializes an app service object with a launch agent with the property list name you provide.

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
Initializes an app service object with a launch daemon with the property list name you provide.

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
Initializes an app service object for a login item corresponding to the bundle with the identifier you provide.

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
An app service object that corresponds to the main application as a login item.

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
Opens System Settings to the Login Items control panel.

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
Check the authorization status of an earlier OS version login item.

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
Check the authorization status of an earlier OS version login item.

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.


The biggest plugin in space...