Re: Snow and Pages
Re: Snow and Pages
- Subject: Re: Snow and Pages
- From: Axel Luttgens <email@hidden>
- Date: Tue, 1 Sep 2009 14:02:45 +0200
Le 1 sept. 09 à 13:41, Yvan KOENIG a écrit :
Le 1 sept. 2009 à 13:05:58, Axel Luttgens a écrit :
[...]
Hello Yvan,
What about of
set font name of word i to "ArialUnicodeMS"
I will try but the dictionary states font, not font name !
You're right as far as the Text Suite is concerned.
But the class "word" seems to be overridden by the one defined in the
Pages Text Suite.
Works here with 10.5.8 and Pages'09.
In fact, it is surprising that the original command ever worked,
since strictly speaking it tries to replace a whole fixed set of
properties with a single property...
It's the standard way to set an item in a record.
We aren't forced to reset every properties embedded in the record.
Hmmm... not sure we are speaking about the same thing.
So, just to be clear:
set myProps to {un:1, deux:2, trois:3}
myProps
--> {un:1, deux:2, trois:3}
set un of myProps to 3
myProps
--> {un:3, deux:2, trois:3}
set myProps to {trois:1} & myProps
myProps
-->{trois:1, un:3, deux:2}
set myProps to {un:5}
myProps
--> {un:5}
I just wanted to point that
set properties of word i to {font name:"ArialUnicodeMS"}
bears an enormous resemblance to the above
set myProps to {un:5}
Axel
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden