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:14:55 +1200
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"}
_____________________________HTH Andy