• 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: Shane Stanley <email@hidden>
  • Date: Sat, 21 Dec 2002 12:44:11 +1100

On 21/12/02 9:19 AM +1000, Wadson, David, email@hidden,
wrote:

> 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.

Try:

set keep with next of every paragraph of currentTextSelected to true

No need to loop.

--
Shane Stanley, email@hidden
_______________________________________________
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.

References: 
 >RE: Quark "keep with next" property (From: "Wadson, David" <email@hidden>)

  • Prev by Date: Re: uh, that's so cool! AS 1.9.1
  • Next by Date: Applescript Date Manipulation...
  • Previous by thread: RE: Quark "keep with next" property
  • Next by thread: RE: File Info - Movie Preview Question from Paul Skinner
  • Index(es):
    • Date
    • Thread