JonRKibler wrote:
How do you set "following paragraph style" for paragraphs
Here's an example that changes the following paragraph style of the first four paragraphs :
-------------
tellapplication"Pages"totellfrontdocument
setfollowing paragraph styleofparagraphs1thru4toparagraph style"Heading 1"
endtell
-------------
JonRKibler wrote:
How do you set "following paragraph style" for paragraph styles using AppleScript?
Here's an example that changes the following paragraph style of the paragraph style "Heading 1" :
-------------
tellapplication"Pages"totellfrontdocument
setfollowing paragraph styleofparagraph style"Heading 1"toparagraph style"Heading 2"
endtell
-------------
JonRKibler wrote:
More generically, what is the syntax for changing a property of a paragraph style that was user created?
If you know the name of the style, here's an example that changes the value of the space before :
-------------
tellapplication"Pages"totellfrontdocument
setspace beforeofparagraph style"xyz"to14
endtell
-------------