LockDown Posted 2 hours ago Share Posted 2 hours ago (edited) How to tell osascript in one liner to show this prompt... @chris1111? Edited 2 hours ago by LockDown Link to comment Share on other sites More sharing options...
Anto65 Posted 1 hour ago Share Posted 1 hour ago " defaults write com.apple.loginwindow PowerButtonSleepsSystem -bool no " Link to comment Share on other sites More sharing options...
LockDown Posted 50 minutes ago Author Share Posted 50 minutes ago (edited) That command will disable it. Im asking for command in terminal to display that dialogue Edited 50 minutes ago by LockDown Link to comment Share on other sites More sharing options...
Anto65 Posted 41 minutes ago Share Posted 41 minutes ago (edited) Have you tried? I just gave the command this is the result You can also use defaults write com.apple.loginwindow PowerButtonSleepsSystem -bool yes in both cases the dialog box is shown (at least in my case) Edited 33 minutes ago by Anto65 Link to comment Share on other sites More sharing options...
Recommended Posts