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

Thread Tools Search this Thread Display Modes
Old Mar 30, 2009, 10:56 AM   #1
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?

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

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

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
thread Thread Starter Forum Replies Last Post
Photo Slideshow Director for iPhone victoryox iPhone and iPod touch Apps 8 Jun 11, 2012 02:12 AM
How to make advanced slideshows on a mac? mbcollins93 Mac Applications and Mac App Store 2 Aug 22, 2008 04:46 PM
Old iBook... make a slideshow? rye9 Mac Applications and Mac App Store 0 Jun 15, 2008 02:11 PM
how to make idvd slideshow fill widescreen display swingerofbirch Mac Applications and Mac App Store 1 Apr 18, 2007 02:39 PM
Please help with making a slideshow movie d wade Mac Basics and Help 3 Oct 27, 2006 08:53 PM

All times are GMT -5. The time now is 10:07 PM.

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

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