Re: Script running the wrong application
Re: Script running the wrong application
- Subject: Re: Script running the wrong application
- From: Victor Yee <email@hidden>
- Date: Sat, 25 Aug 2001 12:20:18 -0400
On Sat, 25 Aug 2001 07:45:22 -0700, Michelle Steiner wrote,
>
--> GraphicConverter got an error: Can't get item 1 of {alias
>
"Dora:Desktop Folder:a:Michelle1.jpg", alias "Dora:Desktop
>
Folder:a:kettle.jpg"}. Access not allowed.
GraphicConvertor does seem a little picky:
set photo to (choose file of type {"JPEG"}) as string
tell application "GraphicConverter PPC"
open alias photo
end tell
--> "GraphicConverter PPC got an error: Can't get alias \"Docs:Catchall:images misc:smile.jpg\". Access not allowed."
>
Anyway, at least there's a simple workaround:
>
>
open the photo as alias
set photo to (choose file of type {"JPEG"}) as string
tell application "GraphicConverter PPC"
open photo as alias
end tell
--> picture opens with GraphicConverter
More finicky than my cat ;)
Victor