Re: Script running the wrong application
Re: Script running the wrong application
- Subject: Re: Script running the wrong application
- From: Paul Berkowitz <email@hidden>
- Date: Fri, 24 Aug 2001 16:09:43 -0700
On 8/24/01 2:17 PM, "Michelle Steiner" <email@hidden> wrote:
>
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
>
Aha! That explains a mysterious bug a user is getting. I was wondering if
this was happening. Check QuickTime's preferences - does it contain a whole
set of file types that it "volunteers" to handle?
--
Paul Berkowitz