Okay, I'm pretty new at Applescript.
What I'm trying to do is very simple. I want to make a script to select all the photos in a folder, and display them in the built in slideshows in OS X.
I have got the select all part down, but I can't find any way to do a right/ctrl click with Applescript. I can't find a way to press the little gear button in the finder either. Those are the only two ways to get to the slideshow option.
Here is my code so far, the working part:
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