Trouble getting AppleScript to execute an Automator app multiple times
Trouble getting AppleScript to execute an Automator app multiple times
- Subject: Trouble getting AppleScript to execute an Automator app multiple times
- From: Stephen Ferris <email@hidden>
- Date: Tue, 14 Aug 2007 17:02:35 -0600
I have an Automator app that works well when I execute it once in conjunction with iPhoto. However, I would like to execute it multiple times using Applescript. When I do this using a simple "repeat" in AppleScript (I'm a beginner), the Automator app only executes successfully once and then it stops. This is the script:
repeat 10 times tell application "Finder" activate select window of desktop select window of desktop open application file "iPhoto Automator Test app.app" of folder "Desktop" of folder "stephenferris" of folder "Users" of startup disk end tell end repeat
Any ideas what might be wrong?
Thanks |
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden