• 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: Stupid, Stupid Text Features [Was: Can't set creator type]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Stupid, Stupid Text Features [Was: Can't set creator type]


  • Subject: Re: Stupid, Stupid Text Features [Was: Can't set creator type]
  • From: Bill <email@hidden>
  • Date: Wed, 25 Feb 2004 02:10:51 +0800

Aside from setting creator and file types, are there any other places
where this gotcha is likely to strike?

It strikes in result pane of Script Editor (some unicode glyphs), choose from list

-- For Panther
-- provided the font "Apple Symbols.ttf" is installed, which comes with Essentials.pkg

property cL : ASCII character 199
property cR : ASCII character 200

-- get the unicode glyph from code point
on hexU(h)
run script (cL & "data utxt" & h & cR)
end hexU

property wKing : hexU("2654")
property wQueen : hexU("2655")

display dialog (wKing & wQueen)
-- you should see pieces of King & Queen

wKing & wQueen
-- result pane of Script Editor displays "??"

try
tell application "Finder"
make new folder at desktop with properties {name:(wKing & wQueen)}
end tell
end try
-- a new folder is made on the Desktop

choose from list (list folder (path to desktop folder))
-- the dialog display incorrectly


Also, read, write access. There are subtle differences between raw event utf8 and utxt.

Feel headache? ;)


bill
_______________________________________________
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.

  • Prev by Date: Re: Stupid, Stupid Text Features [Was: Can't set creator type]
  • Next by Date: on application scripting and Python (Re: on synonyms and homonyms)
  • Previous by thread: Re: vCard
  • Next by thread: Classic App Scripting
  • Index(es):
    • Date
    • Thread