Tag Archives: recipe

How to Run a Command When Switching to Battery Power

You can have your Mac automatically run a command line tool when switching to and from battery power. Let’s make your Mac provide an audible warning when you disconnect the mains power supply from your laptop. To do this we are going to use Power Manager and the command line tool say. Continue reading

Posted in PM4, Power Manager, Recipe | Tagged , , | Comments Off

How to Run a Shell Script Every Day on a Mac

Power Manager can be used to automatically run a shell script each day. Shell scripts can be used to perform tasks that are difficult, or impossible, to achieve using the graphical Mac OS X interface. Continue reading

Posted in PM4, Power Manager, Recipe | Tagged , , | Comments Off

How to Run an AppleScript After Inactivity

Power Manager can run an AppleScript after a period of inactivity on Mac OS X. Unlike most other scheduling tools, Power Manager can run your AppleScript as the front most user. This means your AppleScript can interact with applications and the user; with Power Manager your AppleScript is not restricted as it is with other tools.
Continue reading

Posted in AppleScript, PM4, Power Manager, Recipe | Tagged , , , , | Comments Off

How to Make Your Mac Idle Sleep After Different Times on Different Days

Your Mac can automatically enter a special low power mode called sleep. While your Mac is asleep it uses far less energy than when it is awake. Having your Mac sleep when not in use is much better than leaving it powered on constantly; you use less energy and that saves money on your electricity bill. Continue reading

Posted in Energy saving, PM4, Power Manager, Recipe | Tagged , , , | Comments Off