• 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: addressing words between tabs in Xpress
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: addressing words between tabs in Xpress


  • Subject: Re: addressing words between tabs in Xpress
  • From: email@hidden
  • Date: Tue, 30 Apr 2002 22:34:51 +0100

That was it! Thanks - I even remember thinking that "Character 1" should be
"character i" when I saw this last week. I was then off work ill and I came
back to this today and couldn't find it!!!

Thanks again. I have now tatooed this to my arm.

Steve


>tell document 1 of application "QuarkXPress 4.11"
> activate
> tell story 1 of current box
> repeat with i from 1 to count of paragraphs
> if paragraph i contains "Off" then
> try
> set color of text from character after (character 1 where it = "
") to character -1 of paragraph i to "Red"
> end try
> else if paragraph i contains "or more" then
> try
> set color of text from character after (character 1 where it = "
") to character -1 of paragraph i to "Blue"
> end try
> end if
> end repeat
> end tell
>end tell
_______________________________________________
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.

  • Prev by Date: Re: addressing words between tabs in Xpress
  • Next by Date: re: integers which just won't be round
  • Previous by thread: Re: addressing words between tabs in Xpress
  • Next by thread: Pan/Tilt/Zoom of a QTVR Panorama
  • Index(es):
    • Date
    • Thread