Tag Archives: how to

How to Automatically Log Out Your Mac After Inactivity

When a Mac is available publicly, or in a shared environment like a classroom, it can be useful to automatically log out after a period of inactivity. An automatic log out helps ensure the Mac is returned to a good state after a user has left, and helps avoid a Mac being left logged in unnecessarily. Continue reading

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

How to Avoid Passwords in Power Manager Scripts

Last time we talked about managing Macs with Power Manager’s pmctl command line tool. I am going to explain how pmctl supports Mac OS X’s Keychain and how you can avoid needing to enter your name and password each time you connect to a remote Mac. Continue reading

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

How to Run a Script Within Every User Session

Ever wanted to run a script within every user session on Mac OS X? The chances are you have not. The need tends to be rare, but when needed it is essential. Until Power Manager Professional 4, being able to run a script within every user session was beyond the reach of most administrators.
Continue reading

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

How to Shut Down Your Mac Using AppleScript

To be nice to anyone using our Mac, we want to provide a little notification before shutting down. Let’s create an event that will shut down your Mac in ten minutes time. To do this, we can use AppleScript to create a scheduled shut down event. Continue reading

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