• 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: Quark "keep with next" property
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Quark "keep with next" property


  • Subject: RE: Quark "keep with next" property
  • From: "Wadson, David" <email@hidden>
  • Date: Fri, 20 Dec 2002 17:19:26 -0500

Took me a fair bit of monkeying around with it, but I solved my own problem
finally:

tell application "QuarkXPress(tm)"
tell front document
set currentTextSelected to object reference of selection
repeat with i from 1 to (count of paragraphs in currentTextSelected)
set keep with next of paragraph i of currentTextSelected to
true
end repeat
end tell
end tell


Really a pain in the butt that you can just set something for the whole
selection at once but have to loop through each paragraph. Oh well.

The different style sheets was a possibility except that the different lines
in the selection could/would have a different style sheet for each of them.
I really didn't want multiple variations of each style sheet.
----------
> From: email@hidden
> Sent: Friday, December 20, 2002 4:19 PM
> To: email@hidden; email@hidden
> Subject: RE: Quark "keep with next" property
>
> It might be simplest to create a style sheet with the "keep with next"
> property set the way you want it, and then use the script to apply that
> style sheet to the selected text.
>
> Nan Mossey
> Times Union Publications Manager
> 1 News Plaza
> Albany NY 12212
>
> 518-454-5704
>
> > ----------
> > From: Wadson, David
> > Sent: Thursday, December 19, 2002 8:36 PM
> > To: 'Applescript'
> > Subject: Quark "keep with next" property
> >
> > How do you (if it's possible) set the "keep with next" property of the
> > currently selected text?
_______________________________________________
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: Quark "keep with next" property
      • From: Shane Stanley <email@hidden>
  • Prev by Date: Re: Big Problem
  • Next by Date: FileMaker
  • Previous by thread: RE: Quark "keep with next" property
  • Next by thread: Re: Quark "keep with next" property
  • Index(es):
    • Date
    • Thread