LoginItemSettings

external interface LoginItemSettings(source)

Properties

Link copied to clipboard
abstract external var executableWillLaunchAtLogin: Boolean

true if app is set to open at login and its run key is not deactivated. This differs from openAtLogin as it ignores the args option, this property will be true if the given executable would be launched at login with any arguments.

Link copied to clipboard
abstract external var launchItems: ReadonlyArray<LaunchItems>
Link copied to clipboard
abstract external var openAtLogin: Boolean

true if the app is set to open at login.

Link copied to clipboard
abstract external var status: LoginItemSettingsStatus

can be not-registered, enabled, requires-approval, or not-found.

Link copied to clipboard
abstract external var wasOpenedAtLogin: Boolean

true if the app was opened at login automatically.