I’m looking for a way to enter full screen mode in iPhoto using Applescript. To enter full screen to view images in iPhoto there’s a button that can pressed in the lower left of the window. However, I haven’t been able to find any key commands or Applescript commands to activate this full screen mode in other ways.
Using UI elements I’ve gotten this script to work:
tell application "iPhoto" to activate
tell application "System Events" to tell window 1 of process "iPhoto" to click button 1
However, to use UI elements one has to go into the Universal Acess section of the system preferences and click on the “Enable acess for assistive devices.” I’d rather not require people to have to do this step in order to use my script.
Does anyone have any other ideas on how applescript can be used to make iPhoto enter full screen mode? Thanks!