• 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: 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


  • Follow-Ups:
    • Re: Script running the wrong application
      • From: Paul Berkowitz <email@hidden>
  • Prev by Date: Re: Script running the wrong application
  • Next by Date: Re: Script running the wrong application
  • Previous by thread: Re: Script running the wrong application
  • Next by thread: Re: Script running the wrong application
  • Index(es):
    • Date
    • Thread