• 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 - Text Style Ranges: is this a bug?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

QuarkXPress - Text Style Ranges: is this a bug?


  • Subject: QuarkXPress - Text Style Ranges: is this a bug?
  • From: Luca BASSINI <email@hidden>
  • Date: Sun, 28 Dec 2003 17:53:49 +0100

Hello all,

I have this script running on QuarkXPress Passport 3.31, 3.32, 4.11, 5.01 and 6.0

tell application "QuarkXPress Passport 4.11"
tell document 1
tell current box
tell story 1
repeat with i from 1 to count of text style ranges
tell text style range i
repeat with i from 1 to count of lines
get count of characters of line i
end repeat
end tell
end repeat
end tell
end tell
end tell
end tell

The selected box has two lines with two different applied styles . The script works on every version but 5.01 and 6.0... It seems that XPress is not understanding the right number of lines in a text style range... Is there anyone who knows how to find a workaround on this issue (I mean bug)?

Thanks and Regards
Luca
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: QuarkXPress - Text Style Ranges: is this a bug?
      • From: Hans Haesler <email@hidden>
  • Prev by Date: Re: New AppleScript book
  • Next by Date: Re: file name manipulation
  • Previous by thread: AppleScript and CF/NS Notifications
  • Next by thread: Re: QuarkXPress - Text Style Ranges: is this a bug?
  • Index(es):
    • Date
    • Thread