Here is a simple applescript that will modify all the paragraphs in a Pages document to have a "space after" setting of 4:
tell front document of application "Pages"
set space after to 4
end tell
What I really want is to pre-select only certain paragraphs, then run the script and have it act only on those paragraphs. How can I make it act only on the selected text?
Thanks for any suggestions.
tell front document of application "Pages"
set space after to 4
end tell
What I really want is to pre-select only certain paragraphs, then run the script and have it act only on those paragraphs. How can I make it act only on the selected text?
Thanks for any suggestions.