Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Create a keyboard shortcut for All Events in iPhoto '08 Apps
I like the new events paradigm in iPhoto, but it bugs me that when you are looking at the photos within an event, the only way to return to the All Events view is to grab the mouse and click the little iTunes-Store-like button near the top of the screen.

I could not find any keyboard shortcut built into iPhoto, and Apple has not updated iPhoto's AppleScript library with a view (or really any concept of events). So this is more of a hack than revealing a hidden feature. The following AppleScript, attached to your favorite hot key utility (Butler, etc.) will return you to the All Events view.
tell application "iPhoto"
  activate
  select album "photos"
  tell application "System Events" to tell process "iPhoto"
    delay 0.25
    key code 48 --tab
    key code 126 --up arrow
    key code 5 --G scroll selected event into view
  end tell
end tell
[robg adds: I am pleased to report this works as expected (you might have to play with the delay line, changing the value based on the speed of your machine). Judging from many of Apple's recent apps, apparently nobody there uses a keyboard to do anything, it seems: in many programs, there are basic things that you cannot do without touching the mouse, and this was one of the more annoying examples of such things.

If you'd like a full explanation on how to implement this hint in Butler, keep reading. Note that you'll be reading my words, not those of the hint author, ptone.]

To create this AppleScript as a Butler keyboard shortcut, activate Butler's customization screen (Butler menu bar icon, Butler » Customize). Click Configuration in the toolbar, then expand the Hidden section, and click somewhere within it.

Click the Plus sign at the lower left of the screen, and select Smart Item » AppleScript » AppleScript from the pop-up menu. In the area to the right of the list of commands, you'll see a box (AppleScript) and four tabs below that. Change AppleScript to something obvious (Back to All Events - iPhoto). Select the Source Code tab, and paste the above script. Select the Triggers tab, and in the Hot Key box, enter your desired shortcut -- I used Control-Option-E. When you enter a shortcut, a new Exceptions pop-up menu and box appear. Change the pop-up to Only, and then type iPhoto in the text box.

That's it; you've created an AppleScript hotkey shortcut in Butler. Switch to iPhoto (no app restart required) and try it out.
    •    
  • Currently 3.20 / 5
  You rated: 4 / 5 (5 votes cast)
 
[8,889 views]  

Create a keyboard shortcut for All Events in iPhoto '08 | 6 comments | Create New Account
Click here to return to the 'Create a keyboard shortcut for All Events in iPhoto '08' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Create a keyboard shortcut for All Events in iPhoto '08
Authored by: shueytexas on Aug 22, '07 08:22:27AM

Doesn't hitting the "Esc" key do the same thing?

Works for me.



[ Reply to This | # ]
Create a keyboard shortcut for All Events in iPhoto '08
Authored by: dg37mosxh on Aug 22, '07 08:37:54AM

I just use the ESC key.



[ Reply to This | # ]
Create a keyboard shortcut for All Events in iPhoto '08
Authored by: netrag on Aug 22, '07 11:00:08AM

maybe i'm misunderstanding the use, but i just dbl click in the space where there is no picture and it takes me back



[ Reply to This | # ]
Escape Key...
Authored by: Typhoon14 on Aug 22, '07 11:15:05AM

I'm also confused as to why one wouldn't just use the escape key . . .



[ Reply to This | # ]
Create a keyboard shortcut for All Events in iPhoto '08
Authored by: ptone on Aug 23, '07 12:03:39AM

Clearly I never tried the escape key ;-)

It is not listed in iPhoto's keyboard shortcuts document. Sometimes one has to post a complex hint to get the simple solution in the comments. The comments feature of this site is one of the true value added parts of this already great resource.



[ Reply to This | # ]
Create a keyboard shortcut for All Events in iPhoto '08
Authored by: bugmenot on Aug 24, '07 06:18:36AM

The only thing to be aware of when using the ESC key is that if you've made alterations to the photos you've been working with, you will exit the edit mode without saving your changes.

That said, the ESC will work well while browsing.



[ Reply to This | # ]