• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
changing file creator
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: changing file creator
      • From: Mr Tea <email@hidden>
    • Re: changing file creator
      • From: Timothy Bates <email@hidden>
  • Prev by Date: Re: Learning Apple Script
  • Next by Date: Re: changing file creator
  • Previous by thread: Re: SCRIPTING EXCEL
  • Next by thread: Re: changing file creator
  • Index(es):
    • Date
    • Thread