Re: Quark "keep with next" property
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.