Platforms to show: All Mac Windows Linux Cross-Platform

Back to WakeNotifierMBS class.

WakeNotifierMBS.CallEvents as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Power MBS MacClassic Plugin 2.6 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
whether or not to call the events of this class.

Default is false.
(Read and Write property)

Some examples using this property:

WakeNotifierMBS.DisableSleep as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Power MBS MacClassic Plugin 2.6 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
Diabled sleep if a sleep request comes?

Not used if you have code in the SleepRequest event handler.
(Read and Write property)

WakeNotifierMBS.HadSleeped as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Power MBS MacClassic Plugin 2.6 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
Sleeped since last reset?

You can set this value to false to reset it.
(Read and Write property)

Some examples using this property:

WakeNotifierMBS.LastSleepTime as Double

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Power MBS MacClassic Plugin 2.6 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
Last time in absolute seconds when falled asleep.

Changed type from integer to double in version 4.2.
Value is the same as in date.totalseconds.
(Read and Write property)

Some examples using this property:

WakeNotifierMBS.LastWakeTime as Double

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Power MBS MacClassic Plugin 2.6 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
Last time in absolute seconds when waken up.

Changed type from integer to double in version 4.2.
Value is the same as in date.totalseconds.
(Read and Write property)

Some examples using this property:

WakeNotifierMBS.SleepCount as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Power MBS MacClassic Plugin 2.6 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
Count of sleep demands.

(Read only property)

Some examples using this property:

WakeNotifierMBS.SleepEventCount as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Power MBS MacClassic Plugin 2.6 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
Counts how often the Power Manager calls the sleep notification function.

For debugging so you know that sleep requests are handled.
(Read and Write property)

Some examples using this property:

WakeNotifierMBS.Valid as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Power MBS MacClassic Plugin 2.6 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
Returns True if the sleep event handler could be installed.

False, if no Power Manager is installed.
(Read only property)

WakeNotifierMBS.WakeCount as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Power MBS MacClassic Plugin 2.6 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
Count of waking up.

(Read only property)

Some examples using this property:

The items on this page are in the following plugins: MBS MacClassic Plugin.


The biggest plugin in space...