Re: AppleScript Formatting - Strings
Re: AppleScript Formatting - Strings
- Subject: Re: AppleScript Formatting - Strings
- From: Paul Berkowitz <email@hidden>
- Date: Sun, 03 Oct 2004 07:26:14 -0700
On 10/3/04 1:04 AM, "Emmanuel" <email@hidden> wrote:
> At 1:53 PM +0100 10/2/04, Mr Tea wrote:
>>
>> Why can't I apply formatting to the strings designating the paths of
>> aliases? Other strings display in my chosen font and colour, but those alias
>> paths are stuck with ugly, utilitarian black Geneva.
>>
>> If these alias-path-string-things do not come under the heading of Values
>> (numbers, strings, lists) in the formatting options, then what are they, and
>> why don't they have their own font and colour options?
>
> Maybe they are a special styled text used as an attempt to display
> Unicode as trustfully as possible.
>
> As we mention at:
> <http://www.satimage-software.com/en/unicode_and_applescript.html>
> such "objects" may be dangerous since they "say" they are strings,
> but there are instances where a command supposed to accept strings
> won't want them.
I recall there were some changes to this alias format during OS 10.0 and
10.1. At one point these alias "strings" suddenly appeared as large 12-pt
text (Geneva?) when they were compiled. Chris Nebel said something about
that being a bug, but a useful one, as I best recall. Emmanuel is of course
right that the "strings" actually represent Unicode text: back in Script
Editor 1.9 that could not even be displayed at all accurately, but does a
better job in SE 2.0. In both cases, and in other editors, the alias object
does nevertheless refer to its Unicode path at the time of compilation. I'm
not sure why it would behave differently than file and folder objects 'by
name' in the Finder, which also uses Unicode (and has done ever since 10.0).
--
Paul Berkowitz
_______________________________________________
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