• 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: Paul Berkowitz <email@hidden>
  • Date: Sat, 25 Aug 2001 08:12:23 -0700

On 8/25/01 7:45 AM, "Michelle Steiner" <email@hidden> wrote:

> On 8/25/01 2:10 AM, Nigel Garvey <email@hidden>
> wrote:
>
>> If this is the case, an alternative approach would be to get the Finder
>> to return photoList as an alias list.
>
> Well,
>
> set the photoList to (the files of the folderToProcess) as alias list
>
> fails if there's only one item in the folder. (Known Finder bug. <sigh>)
>
> And with two or more items in the folder, I get this error:
>
> --> 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.
>
>
> Anyway, at least there's a simple workaround:
>
> open the photo as alias
>

But with the alias list, doesn't it work to open photolist as a list, not in
a repeat loop? It works perfectly in 4.0.9, including two jpeg files whose
icons are appearing as QuickTime icons.

tell application "Finder"
set photolist to every item of alias "OS 9 HD:Desktop Folder:Incoming
Images:" as alias list
end tell

tell application "GraphicConverter"
open photolist
end tell



--
Paul Berkowitz


References: 
 >Re: Script running the wrong application (From: Michelle Steiner <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