• 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: path to as string
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: path to as string


  • Subject: Re: path to as string
  • From: Christopher Nebel <email@hidden>
  • Date: Tue, 28 Jun 2005 18:43:48 -0700


On Jun 28, 2005, at 5:11 PM, has wrote:

...the only [example of bad Unicode behavior] I could think of offhand is Finder's 'creator type' and 'file type' properties, which demand an AEDesc of typeText and choke on anything else:

tell application "Finder"
set creator type of file "test.txt" of home to "ttxt" -- works with an AEDesc of typeText
set creator type of file "test.txt" of home to ("ttxt" as Unicode text as string) -- breaks on an AEDesc of typeStyledText
end tell


Obviously a bug in Finder, but until it's fixed...

Which it is in Tiger.


--Chris Nebel AppleScript and Automator Engineering

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Re: path to as string (From: has <email@hidden>)

  • Prev by Date: Re: path to as string
  • Next by Date: Re: path to as string
  • Previous by thread: Re: path to as string
  • Next by thread: Re: path to as string
  • Index(es):
    • Date
    • Thread