Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Put Mac to sleep with Drafts on iOS System
Agile Tortoise's Drafts is a nifty tool for writing texts and doing things with them on an iOS device. I use it mostly for the more comfortable writing environment, and send texts as emails or tweets, but there's an entire sub-culture that's been hacking Drafts to do many things. (Check out the Drafts actions directory.)

David Sparks posted an interesting use of Drafts (credited to Milosz Bolechowski; I couldn't find the original on his site), together with noodlesoft's Hazel - a tool that automates tasks on your Mac - to put a Mac to sleep. In essence, Hazel looks for a file named "MB sleep" in a the Drafts folder in his Dropbox folder; when it finds that file, it puts the Mac to sleep with an AppleScript.

I think you might be able to do this with folder actions as well, but I'm not very good with AppleScript. So if you can, feel free to post a script in the comments.
    •    
  • Currently 3.17 / 5
  You rated: 4 / 5 (6 votes cast)
 
[3,620 views]  

Put Mac to sleep with Drafts on iOS | 2 comments | Create New Account
Click here to return to the 'Put Mac to sleep with Drafts on iOS ' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Put Mac to sleep with Drafts on iOS
Authored by: Supp0rtLinux on May 23, '13 01:24:35PM

I've been a UNIX guy for almost 2 decades and back in the day we used to write a custom script that would use a .forward file to pipe things out to the vacation program which would then execute a script. So I could email a server and have it run a report, reboot, etc., though caution had to be given to restrict addresses it could receive from and to include non-standard wording the subject or body. Try googling: "linux pipe to vacation program run script". To my knowledge this can still be done in even the latest versions of OS X. In fact, it can be done via txt messages now thanks to iCloud and Messages and doesn't depend on installing additional 3rd party apps. I used this years ago for a server that was known to freeze upů when BigBrother would email me that the server was down, I would send it an email from my phone to reboot it. Somehow its critical services would freeze up, but it could still process email and init, etc.



[ Reply to This | # ]
Put Mac to sleep with Drafts on iOS
Authored by: gbrown on May 24, '13 08:01:57AM

There is a Macintosh application called "WakeyWakey" ($3.99 at http://www.gbrown.com/wakey/) and a free iOS app called WakeyControl that will do this too.



[ Reply to This | # ]