Re: Log
Re: Log
- Subject: Re: Log
- From: John Delacour <email@hidden>
- Date: Sat, 3 Aug 2002 01:49:45 +0100
At 4:45 pm -0700 2/8/02, Christopher Nebel wrote:
Black 12-point Geneva is usually a sign that the text is actually
Unicode text. It's a mild bug that AppleScript doesn't show it in
the normal string style, but it's also sort of handy.
It's certainly helluva handy when I want to have real unicode alphas
betas and gammas in the result window. Pity the script window is
still 1984 technology with only the traffic lights to make it look
post-modern!
Emmanuel, you should learn from Apple :-) ... at least one little bit
of their ancient offering can actually display unicode characters!
Could it really be that people are waking up after a seven year sleep?
Here's a script that will display alpha, beta, gamma in Greek in the
result window ...
path to current user folder
set f to "" & result & "Documents:abg.txt"
set s to ""
set ls to {254, 255}
set ls to ls & {3, 177} -- alpha
set ls to ls & {3, 178} -- beta
set ls to ls & {3, 179} -- gamma ***
repeat with n in ls
set s to s & (ASCII character n)
end repeat
try
close access file f
end try
open for access file f with write permission
set eof file f to 0
write s to file f
close access file f
read file f as Unicode text
JD
PS. *** Saw no Greek? Shame! "Arial Unicode MS" is a free 13 MB
download from Microsoft expanding to a 23 MB True type font that
displays EVERY unicode character. You'll need to expand the .exe
file on a PC or in SoftWindows/Virtual PC and then grab the TT font
file from the Fonts folder. Just dump it in the OS X fonts folder.
I can't get it to show up in OS 9.2 -- anyone know why?
_______________________________________________
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: Log (From: Christopher Nebel <email@hidden>) |