Trying to automate inserting Text Anchors
Hi all!
I'm trying to write a script that goes to the start of each line in a certain style and creates a text anchor. Does anyone know if you can code the action of creating a text anchor? Problem two is that it needs to be named with the text following it (>_<).
So, in the following text which is all styled the same, it will go, create an anchor at the start of each line, and name it with the text on that line?
Dedication
Chapter 1
Chater 2
etc
Does that make sense? I'm not even sure if this is possible to put in a script but I figured if it is, here's where someone can help me with it!
Thanks for reading,
Eubhal
