• 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: Set creator code of a package don't work
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Set creator code of a package don't work


  • Subject: Re: Set creator code of a package don't work
  • From: John Delacour <email@hidden>
  • Date: Tue, 26 Nov 2002 21:56:42 +0000
  • Mac-eudora-version: 5.3a9

At 10:27 pm +0100 26/11/02, Thomas wrote:

Ops, sorry I made the mistake writing my code in Mail, I wanted to write :

tell app "Finder"
set creator type of file "the file path" to "something"
end tell

This really doesn't work for a package file like .rtfd text files but this code work for standard files.
So is this normal ?

Yes. An .rtfd file is a package containing a file "TXT.rtf". You can change the creator type of this component to "MSWD" if you want and open it in Word, without the images, by double-clicking it (why you would, I don't know) but a folder/package cannot have a creator type. Within the package you have files of various types and creators, as you will see if you select it with the control key and look at the contents.

JD
_______________________________________________
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: 
 >Re: Set creator code of a package don't work (From: Thomas <email@hidden>)

  • Prev by Date: Re: Create variables from the script ?
  • Next by Date: Re: Create variables from the script ?
  • Previous by thread: Re: Set creator code of a package don't work
  • Next by thread: Re: Some package questions
  • Index(es):
    • Date
    • Thread