Re: Set creator code of a package don't work
Re: Set creator code of a package don't work
- Subject: Re: Set creator code of a package don't work
- From: Paul Berkowitz <email@hidden>
- Date: Tue, 26 Nov 2002 13:10:07 -0800
On 11/26/02 12:49 PM, "Thomas" <email@hidden> wrote:
>
tell app "Finder"
>
set creator type of "the file" to "something"
>
end tell
>
>
I get no error, but the creator code of the file is not changed. Is this
>
normal ?
Yes. You seem to have asked for the creator type of "a string" to be set.
The Finder will only change creator types of files, not strings. (It's one
of the few coercions the Finder doesn't do.) Have you tried:
tell app "Finder"
set creator type of file "filePath here" to "something"
end tell
Also "something" should be a real creator type, of course.
--
Paul Berkowitz
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.