Contribute
Register

[RELEASE]: SleepOnLowBattery (“SOLB”)

Status
Not open for further replies.
Any way to update the value inside the dialog box without updating the whole dialog box?
 
Last edited:
@antoniom96 That's how I planned to have it, tried but wasn't able to figure it out. I looked at all sorts of code @ stackexchange, superuser etc. but eventually gave up. I'm neither an AppleScript nor a bash crack, so it might be possible somehow, but I don't have any more time for this part and need to let it be the way it is. Maybe someone else can figure it out - the code is open.
 
Last edited:
SleepOnLowBattery (SOLB) by BugsB v.1.22 (2021-12-17).zip

Change log:
BUG FIX: {Cancel} button (to prevent sleep) had stopped working in macOS 10.15+
IMPROVEMENT: in ‘with sound/Install SOLB’ script, switched launchctl action from load to enable and from start to kickstart as per Apple’s recommendations for current versions of macOS

Tested working in macOS Monterey 12.0.1 and Catalina 10.15.7.
 
Status
Not open for further replies.
Back
Top