Re: changing file creator
Re: changing file creator
- Subject: Re: changing file creator
- From: Timothy Bates <email@hidden>
- Date: Thu, 02 May 2002 16:15:18 +1000
You need to say "creator type" not "file creator"
You can always discover things like this by looking in the finder
dictionary.
Tim
On 2/5/02 3:45 PM, "David DuBois" <email@hidden> wrote:
>
I'm trying to write an applet that will change the file type and file
>
creator. The file type change is easy, but I can't get the file creator to
>
change. Any thoughts?
>
>
What I have is:
>
>
on open fileList
>
tell application "Finder"
>
repeat with i in fileList
>
set filePath to i as text
>
set file creator of file filePath to "XPR3"
>
set file type of file filePath to "XDOC"
>
end repeat
>
end tell
>
end open
>
>
>
Thanks
Dr Timothy Bates <
mailto:email@hidden>
Macquarie Centre for Cognitive Science (MACCS)
Macquarie University
Ph 61 (2) 9850 8623
Fx 61 (2) 9850 6059
_______________________________________________
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.