• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
re:Script running the wrong application
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

re:Script running the wrong application


  • Subject: re:Script running the wrong application
  • From: "Vince Jelenic" <email@hidden>
  • Date: Fri, 24 Aug 2001 17:57:45 -0500

--Michelle
I have a folder with JPEG files with a Picture Viewer creator. I have a
script that tells Graphic Converter to open the pictures, but Picture
Viewer winds up opening them. Anyone know why?

Here's the code:

set the folderToProcess to choose folder
tell application "Finder"
set the photoList to (the files of the folderToProcess)
end tell
repeat with photo in the photoList
tell application "GraphicConverter"
open the photo
end tell
end repeat



just change the line
"open the photo"
to
"open the photo as alias without messages"

cheers

------ Vince Jelenic says:
"The only way to really ensure server security is to lock it in a sealed
room with the power off."


  • Prev by Date: Re: QuickTime Time from SMPTE Time
  • Next by Date: Re: QuickTime Time from SMPTE Time
  • Previous by thread: Re: Attaching a folder action
  • Next by thread: re:Script running the wrong application
  • Index(es):
    • Date
    • Thread