• 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
Re: changing file creator
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >changing file creator (From: David DuBois <email@hidden>)

  • Prev by Date: changing file creator
  • Next by Date: Re: Learning Apple Script
  • Previous by thread: changing file creator
  • Next by thread: Re: changing file creator
  • Index(es):
    • Date
    • Thread