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