Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Mar 30, 2009, 10:56 AM   #1
airfang
macrumors regular
 
Join Date: Apr 2007
AppleScript problem : making customized slideshow

Hi all, I just started AppleScript programming and have stumbled onto sth I cannot solve.

Basically I would like to be able to select randomly from a folder some pictures and start displaying them in fullscreen mode. The catch is I want to set specifically the delay between each slide.

The easiest way I can think of is using Quicklook, but unfortunately it does not seem to do the trick:

activate application "Finder"
tell application "System Events"
tell process "Finder"
keystroke "a" using {command down}
keystroke "y" using {command down, option down}
end tell
end tell

This automatically starts the slide show, but that is not what I want. I wanted to send keystroke space to pause the slideshow and use delay and keystroke left/right to go around, but unfortunately whenever Quicklook is activated, keystrokes sent to Finder no longer works. Then again there is no process named "Quicklook", the frontmost process is still "Finder".

Is there any way I can send a keystroke to Quicklook?
Or do I have to resort to other applications like iPhoto/Keynote for that matter?

Thanks!
__________________
iPod nano 2nd Gen 8G (RED)
MacBook Pro 17'' 2.4GHz 4G 160G HD Matte
iPhone 3G (white)
Dell UltraSharp 2408WFP
airfang is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
iPhoto 9.4.7 Slideshow Problem thefunkymunky OS X Mavericks (10.9) 0 Oct 15, 2013 04:33 PM
Aperture slideshow problem OrganMusic Digital Photography 3 Jun 26, 2013 04:50 PM
An iPad Slideshow App-Photo Slideshow Director HD socusoft12 iPad Apps 5 Mar 19, 2013 08:44 PM
AppleScript: Problem Saving Files in the correct place mrnohands2004 Mac Programming 0 Mar 2, 2013 06:16 AM
Urgent Help Needed... Problem faced when exporting iPhoto slideshow anti-removal MacBook Pro 0 Dec 16, 2012 09:50 PM

Forum Jump

All times are GMT -5. The time now is 05:02 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC