I am trying to make an Applescript to launch a slideshow from the finder, not an iPhoto slideshow, but the one you get by clicking the Tools button and selecting slideshow. It is much easier to choose which photos I want to save my computer by using that, but it is a pain to have to select all the photos, and then click multiple buttons to view it.
So I set out to create a script to select all the files in the folder, and start a slideshow. I am very close. I can click that button, but don’t know how to script the menu it displays when clicking the button. Much help would be appreciated.
Here is my script so far:
tell application "Finder"
activate
tell application "System Events"
tell process "Finder"
tell menu bar 1
tell menu bar item "Edit"
tell menu "Edit"
click menu item "Select All"
end tell
end tell
end tell
end tell
end tell
end tell
tell application "System Events"
tell process "Finder"
tell window 1
tell tool bar 1
tell group 2
tell menu button 1
click
end tell
end tell
end tell
end tell
end tell
end tell
Model: Macbook 13", 2.0 GHZ, 80 GB HDD, 2 GB RAM
Browser: Camino 1.1 beta
Operating System: Mac OS X (10.4)