Thread: apple script
11-20-2011, 01:56 PM #1
- Member Since
- Nov 20, 2011
I need a script that tells quicktime to open the second file from a specific folder (in a loop) when a new movie is being saved in that same folder.
the problem is that i don't know how to write the script that says, execute a new action when a new file is saved in this folder.
is there any script for this?
tell application "Finder"
sort (get files of folder sourceFolder) by creation date
set theFile to (item 2 of result) as alias
tell application "QuickTime Player 7"
present document 1
if done of front document then
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
By Anima Rani in forum OS X - Development and DarwinReplies: 4Last Post: 10-17-2012, 04:10 AM
By sootom in forum OS X - Operating SystemReplies: 0Last Post: 11-08-2011, 05:03 PM
By cmwarre in forum OS X - Development and DarwinReplies: 1Last Post: 11-14-2009, 07:54 PM
By davedave in forum OS X - Apps and GamesReplies: 0Last Post: 03-11-2009, 04:11 AM
By nick_harambee in forum iPod Hardware and AccessoriesReplies: 0Last Post: 10-05-2007, 04:09 PM