OrderedBytes
OrderedBytes User Forum
FAQ FAQ     Search Search     Memberlist Memberlist     Usergroups Usergroups     Register Register
Profile Profile     Log in to check your private messages Log in to check your private messages     Log in Log in
map "system sleep" on a single key
Display posts from previous:         View previous topic :: View next topic
Post new topic Reply to topic Subscribe to this topic    The OrderedBytes Forum -> Support
map "system sleep" on a single key Wed Sep 05, 2018 6:46 pm  •   #13741
mohataj



Joined: 05 Sep 2018
Posts: 1

How do I do that?
There is no "System Sleep" in custom behavior.
Another keyboard has a button for this, is detected as "System Sleep" button and pretty working.
View user's profile Send private message Reply with quote
Thu Sep 06, 2018 8:47 pm  •   #13742
xltrader100



Joined: 16 Dec 2008
Posts: 236
Location: Canada

mohataj - I've used this for a long time and it's very reliable. Paste this into Script Editor:

do shell script "pmset sleepnow"

Save it anywhere as an app, give it a descriptive name and icon https://bit.ly/2NlQjN8 and drag it into the Dock.

It does have one little quirk to be aware of and that's when you click the icon, the machine goes to sleep IMMEDIATELY. None of those pesky delays waiting for other open apps to approve of going to sleep. Even if you're in the middle of a big file transfer, when you say sleep, it sleeps. On the plus side, it also remembers about the file transfer and tries to pick up where it left off after waking up.
View user's profile Send private message Reply with quote
Page 1 of 1 All times are GMT - 6 Hours
Post new topic Reply to topic Subscribe to this topic    The OrderedBytes Forum -> Support
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Copyright © 2005 — 2012 OrderedBytes
All rights reserved.