Keynote on auto schedule shutdown-startup

Posted on 04. Mar, 2010 by Philip in Apple, Big Trousers News, Digital imaging, Hardware, Software, Video

A very recent installation job nearly went pear shaped when a new “feature” in iWork 09 Keynote stopped us from scheduling a shutdown of a kiosk style big screen sideshow on 3 screens.

The job is a display of news and coming events on 3 big screens for The West Footscray Neighborhood House. The screens run separate keynote presentations containing HD video and slideshows all with audio in 3 different locations within the center complex. Three Mac mini’s run the program files in full HD resolution and they could not be more happy with the quality of the presentations.

There were a number of hurdles to overcome however and in the interests of others trying to achieve the same result we will list solutions to some of the problems we encountered.

Firstly because there are no keyboards or mice we needed control over the screens from another Mac on the network. A 22.5 inch iMac in the locked admin office could be used via screen sharing in house but we also wanted remote access. Once all the right bits of network apparatus were in place we could gain control over the 3 Mac mini’s using Back to My Mac over the internet from our office. We can transfer updated Keynote files, check the system for failures or launch an application. With high end bandwidth at both ends it runs perfectly. On reboot however the Bluetooth equipped Mac mini’s went looking for a keyboard and mouse. Not a very pleasant screen image to greet me on the first morning of trials. This was sorted by turning off all Bluetooth services. Open system prefs/Bluetooth and advanced. Uncheck “Open Bluetooth Assistant…” box and the system will stop trying on reboot to connect.

Now to get a file to run on reboot simply add it as a login item. Normally you would have an Application as a login item, like Mail or the persistent Skype… To make a file like a Keynote slide show a login item use the login items window in System Prefs/Accounts and select and add using the + or for big files we found it was necessary to drag and drop the file into the login window.

Finally the big hurdle, getting Keynote to close to allow automated shutdown. The screens need to shutdown overnight and reboot in the morning. This keeps the noise down overnight for the neighbors. A simple task made complicated by some new code requirement that Keynote check first if a file has been saved before allowing shutdown to proceed. A good idea for those editing presentations but a pain in the butt for our purposes.

The trick was to use Automator and create an iCal alarm that simply put shuts down Keynote without saving 5 min or so prior to the scheduled Mac Mini’s shut down. Open Automater, choose iCal Alarm, select quit application from the menu and drag it into the script window. Choose Keynote from the dropdown ( here you will need to say “other” and get Keynote from within the iWork folder), UNCHECK “Ask to save changes”, then save entering Keynote Shutdown as the iCal alarm name. iCal will open with editable parameters for the alarm in a new iCal Calendar called “Automator”. Set the repeat to every day, end never, and the timing of the event and click done.

If anyone has any other questions relating to the placement setup for function of a presentation kiosk using the Mac, drop us a line and we hope we can be of assistance. Our thanks also to Rod Langham Electrical for his great work with the physical installation and heavy lifting.

One Response to “Keynote on auto schedule shutdown-startup”

  1. Ajay 5 March 2010 at 1:29 pm #

    Hey, very nice! I like that whole kiosk ideal!