• 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
[QuarkXPress 5] how to get "on styles" ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[QuarkXPress 5] how to get "on styles" ?


  • Subject: [QuarkXPress 5] how to get "on styles" ?
  • From: Autocat <email@hidden>
  • Date: Sat, 8 Jan 2005 12:37:43 +0100

Hi everyone,

In XPress 4 I have this script that I use to get the list of "on styles" for a given text style range:

tell application "QuarkXPress"
	activate
	tell document 1
	set theStyles to style of text style range 1 of text 1 of current box
	set theOnStyles to on styles of theStyles
	if class of theOnStyles is not list then coerce theOnStyles to list
	return theOnStyles
	end tell
end tell

the result something like: { "bold", "italic"}

In XPress 5.01, theStyles is set to for example «data tStSFFFF0001», and I just can't figure out how to extract the bold, italic etc...

	set theOnStyles to on styles of theStyles

fails ("Can't get on styles of «data tStSFFFF0001».")

Any ideas anyone ?

Thanks very much

Laurent
_______________________________________________
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: Fetch
  • Next by Date: Re: [QuarkXPress 5] how to get "on styles" ? (Fixed, kind of...)
  • Previous by thread: Re: Fetch
  • Next by thread: Re: [QuarkXPress 5] how to get "on styles" ? (Fixed, kind of...)
  • Index(es):
    • Date
    • Thread