• 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: Yvan KOENIG <email@hidden>
  • Date: Tue, 1 Sep 2009 14:15:43 +0200

Look at that:

tell application "Pages"
activate
tell document 1
get properties of word 3
set properties of word 3 to {font name:"ArialUnicodeMS"}
get properties of word 3
end tell
end tell

running it on 10.4.11, I get this report:

tell application "Pages"
activate
get properties of word 3 of document 1
{paragraph style:paragraph style "Corps" of document id 5091942, hidden:false, shadow blur:missing value, left indent:0.0, subscript:false, containing page:page 1 of document id 5091942, keep with next paragraph:false, italic:false, label size:1.0, shadow opacity:missing value, bold:false, character style:missing value, color:{0, 0, 0}, list style:list style "Aucun" of document id 5091942, space before:0.0, remove hyphenation:false, label indent:0.0, shadow color:missing value, number label tiered:false, underline type:none, indent level:1, tracking:0.0, character background color:missing value, font name:"Helvetica", label type:none, first line indent:0.0, number label style:number paren zero, strikethrough type:none, shadow offset:missing value, start new page:false, ligatures:default ligatures, collapsed:false, class:Unicode text, font size:12.0, space after:0.0, line spacing:1.0, capitalization type:normal capitalization, label baseline shift:0.0, text label string:missing value, superscript:false, right indent:0.0, character offset:8, scale with text:true, line spacing type:relative, contents:"short", outline:false, shadow angle:missing value, length:5, label image data:missing value, text indent:0.0, shadow:false, prevent widows and orphans:true, alignment:left, baseline shift:0.0, strikethrough color:missing value, underline color:missing value, following paragraph style:missing value, keep lines together:false, paragraph background color:missing value}
set properties of word 3 of document 1 to {font name:"ArialUnicodeMS"}
get properties of word 3 of document 1
{paragraph style:paragraph style "Corps" of document id 5091942, hidden:false, shadow blur:missing value, left indent:0.0, subscript:false, containing page:page 1 of document id 5091942, keep with next paragraph:false, italic:false, label size:1.0, shadow opacity:missing value, bold:false, character style:character style "Aucun" of document id 5091942, color:{0, 0, 0}, list style:list style "Aucun" of document id 5091942, space before:0.0, remove hyphenation:false, label indent:0.0, shadow color:missing value, number label tiered:false, underline type:none, indent level:1, tracking:0.0, character background color:missing value, font name:"ArialUnicodeMS", label type:none, first line indent:0.0, number label style:number paren zero, strikethrough type:none, shadow offset:missing value, start new page:false, ligatures:default ligatures, collapsed:false, class:Unicode text, font size:12.0, space after:0.0, line spacing:1.0, capitalization type:normal capitalization, label baseline shift:0.0, text label string:missing value, superscript:false, right indent:0.0, character offset:8, scale with text:true, line spacing type:relative, contents:"short", outline:false, shadow angle:missing value, length:5, label image data:missing value, text indent:0.0, shadow:false, prevent widows and orphans:true, alignment:left, baseline shift:0.0, strikethrough color:missing value, underline color:missing value, following paragraph style:missing value, keep lines together:false, paragraph background color:missing value}
end tell

It's exactly what it is supposed to do.

Is it broken in Snow ?

I use this syntax for years, mainly with AppleWorks.

Yvan KOENIG (VALLAURIS, France) mardi 1 septembre 2009 14:15:29


 _______________________________________________
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

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>)
 >Re: Snow and Pages (From: Axel Luttgens <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