I am new to scripting, and I have been unable to create a script to do the following.
I want the script to find a key word (Concept e.g.) then change the paragraph style to a style already in the styles pallett. This could be in a document over a thousand times. Then I want it to find another key word and change the paragraph style to a different style. There are six different key word/style changes for the document. I will be doing this for several dozen documents that have the exact same key word and formatting needs.
Is this possible? From reading the script guide it seems possible, but I don't understand everything I need to do. I've tried using loop end loop, find, findnext, styles. I don't understand how to structure a script using changeall. Can anyone point me in the right direction?
I want the script to find a key word (Concept e.g.) then change the paragraph style to a style already in the styles pallett. This could be in a document over a thousand times. Then I want it to find another key word and change the paragraph style to a different style. There are six different key word/style changes for the document. I will be doing this for several dozen documents that have the exact same key word and formatting needs.
Is this possible? From reading the script guide it seems possible, but I don't understand everything I need to do. I've tried using loop end loop, find, findnext, styles. I don't understand how to structure a script using changeall. Can anyone point me in the right direction?