changing file creator
changing file creator
- Subject: changing file creator
- From: David DuBois <email@hidden>
- Date: Thu, 02 May 2002 00:45:01 -0500
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
--
David DuBois
email@hidden
The box said Windows 2000 or better so I bought a Mac
_______________________________________________
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.