
- #Sleepwatcher mac run when idle how to
- #Sleepwatcher mac run when idle mac os x
- #Sleepwatcher mac run when idle full
Source/Idle Master Helper/idle-to-ready.pyĪnd that's it! From here on, just follow the setup instructions from the Documentations directory of the extracted file. Next, you will be copying these files to the idle-master directory: Inside the extracted directory, copy all the files from Releases/OS X/ directory to your idle-master directory. Extract the contents of these in a separate directory (outside of the idle-master directory I mentioned earlier). You are going to download the latest copy of the source files of Idle Master. For example's sake, let's name this directory as idle-master. I recommend making one somewhere inside the Documents directory of the user you are logged in.
#Sleepwatcher mac run when idle how to
Finally found the solution on how to get it running and I'll be sharing to you guys how to do it.įirstly, you might want to make a directory where you will be working in.
#Sleepwatcher mac run when idle mac os x
The way to produce the same result in Automator, is pictured below, but doesn't have the option of of repeating every x number of minutes, but hopefully the picture shows the workflow steps needed to duplicate the above script.I've been struggling on trying to run the Mac OS X client of the Idle Master. Which you can right click and view the package contents, which will have a proper "ist" file, and an ".icns" icon file that you can change to your own custom icons, along with other options to grow and develop the application.
#Sleepwatcher mac run when idle full
The good thing about going the stay open application route, is that you have a full standalone application package. In the example code above, if you click the "Cancel" button while picking from the list, this returns a "false" boolean value, so the idle handler returns 1 second, which means the choose from list dialog box will display immediately.īut if you choose one of the options from the list, the idle handler will return a value of 1800 seconds, which is the equivalent of the 30 minute you desired, but can be set to any value you want.

This will create the stay open AppleScript application, if you double click this application as usual, it will run like any other application, except the idle handler will repeat with the returned number of seconds. Then you need to click the "File Format:" combo box near the bottom, and select the "Application" option, and then also select the "Stay open after run handler" option box. To save it as a stay open application, go to the "File" menu in Script Editor, and then click the "Save" menu item.Īnd the usual file save dialog box will be displayed, so give your application a name, I called mine "Shell Runner".

You will also notice that it will run only once in the Script Editor application, this is because for the idle handler to function, the script needs to be saved as a stay open application, only then will the idle handler repeat with the desired return value, which is the number of seconds between repeat runs of the application. If you copy and paste this code into a new "Script Editor" file and click the run button, you will see how it works. If button returned of quitApplication is "Yes" then Set commandVariable to choose from list default button "Yes"
