Re: Creator types as Class and I can't coerce it back
Re: Creator types as Class and I can't coerce it back
- Subject: Re: Creator types as Class and I can't coerce it back
- From: Andy Wylie <email@hidden>
- Date: Sat, 12 May 2001 14:56:55 +1200
on 12/5/01 2:14 PM, Andy Wylie at email@hidden wrote:
>
on 12/5/01 9:35 AM, Paul Skinner at email@hidden wrote:
>
>
> The following script returns Creator Types as a list of values like
>
> so...
>
> <<class 'the 4 letter creator type'>>.
>
> tell application "Finder"
>
> set t to {name, creator type} of (every file of folder <optL>
>
> "dark star:System Folder:Scripting Additions:" whose kind is <optL>
>
> "application program")
>
>
how about...
>
------------------------------------------------
>
>
tell application "Finder"
>
set t to {name, creator type} of every application file of (path to scripting
>
additions folder)
>
end tell
>
-- {"URL Access Scripting", "uasc"}
Sorry, I see the problem (AS 1.3.7) with more than one item, I vaguely
recall a discussion on a problem listing something else with the same
<<class 'the 4 letter creator type'>> result in a later AS vers but a
reference eludes me.
_____________________________ Andy