I’m fairly n00b-ish at KM scripting beyond the basics. I want to be able to select some text in Pages, and have KM cut and paste the selected text into Pages’ Insert > Document Endnote, and have it return to where I was in the text. I can do the select, cut, paste, and insert the end note, but I can’t figure out how to return from the end of the doc to where I inserted the note. (You’d think Pages would link the end note numbers. You’d be mistaken.)
I have tried having KM insert a unique text string ("#HERE#") and then invoke Pages’ Find dialogue, find that string and delete, but it gets a bit fiddly.
I bet there’s a better way to do this…
Thanks!