• 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: Snow and Pages
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Snow and Pages


  • Subject: Re: Snow and Pages
  • From: Axel Luttgens <email@hidden>
  • Date: Tue, 1 Sep 2009 14:13:07 +0200

Le 1 sept. 09 à 13:49, Yvan KOENIG a écrit :


[...]

Here is a reprint of the dictionary:

word n [inh. item; see also Pages Text Suite] : This subdivides the text into words.
elements
contains attachments, attribute runs, characters, paragraphs, words; contained by attachments, attribute runs, characters, paragraphs, text, words, characters, insertion points, paragraphs, text, words.
properties
color (color) : The color of the first character.
font (Unicode text) : The name of the font of the first character.
size (integer) : The size in points of the first character.

And from the Pages Text Suite, one has (lots of lines removed):

word n [inh. item; see also Text Suite] : This subdivides the text into words.
elements
contains characters, charts, graphics, images, insertion points, lines, paragraphs, shapes, tables, texts, text boxes, words; contained by attribute runs, characters, paragraphs, texts, words, characters, insertion points, paragraphs, texts, words.
properties
alignment (center/justify/left/right) : The horizontal alignment.
[...]
font name (text) : The name of the font.
font size (real) : The size of the font.
[...]
underline type (double underline/none/single underline) : Whether the font style is underline.


Out of curiosity, what's the output of
	properties of word 1
on your box with Snow Leopard?


If I uses Font Name as you offer, the two words remain purple but I may run the script.

Damn... I really don't know for that purple thing...


So, from my point of view, there is a heavy smell of bug but at least for this property, there is a workaround.
I will look in the dictionary files if I may replace Font by Font Name.

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
  • Follow-Ups:
    • Re: Snow and Pages
      • From: Yvan KOENIG <email@hidden>
References: 
 >Snow and Pages (From: Yvan KOENIG <email@hidden>)
 >Re: Snow and Pages (From: Axel Luttgens <email@hidden>)
 >Re: Snow and Pages (From: Yvan KOENIG <email@hidden>)

  • Prev by Date: Re: Snow and Pages
  • Next by Date: Re: Snow and Pages
  • Previous by thread: Re: Snow and Pages
  • Next by thread: Re: Snow and Pages
  • Index(es):
    • Date
    • Thread