re:Script running the wrong application
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."