• 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
Simple Question on setting text styles in pages
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Simple Question on setting text styles in pages


  • Subject: Simple Question on setting text styles in pages
  • From: Robert DeLaurentis <email@hidden>
  • Date: Fri, 9 Jun 2006 10:52:42 -0700


Applescript duffer that I am, I'm unable to do something that I imagine is pretty simple, applying a character style to the selection in Pages.


This pseudo script returns {"Strikethrough", "None", "Underline", "Emphasis"}

tell application "Pages"
	set x to character styles of document 1
end tell


This however, responds with "Can't make character style of selection into type reference."


tell application "Pages"
	set character style of selection to "Emphasis"
end tell


Please pardon my ignorance. I'm blind at seeing what must be directly in front of my face.


b
_______________________________________________
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


  • Prev by Date: Re: Problem with Reply, Forward and Outgoing Messages in Application "Mail"
  • Next by Date: Re: Problem with Reply, Forward and Outgoing Messages in Application "Mail"
  • Previous by thread: make new keychain in Tiger
  • Next by thread: XML Suite Documentation
  • Index(es):
    • Date
    • Thread