When i select some items in indesign i have the option of "command + click" to highlight one of the selections. How would i find that highlighted element in scripting?
How would i go about finding the last item selected in indesign.
I'm trying to write a script that relies on some properties of the highlighted element or the last item selected.
Thanks myDavey. That's not exactly what i was looking for, but it had good information on something else i am working on.
I found the solution to my problem. That highlighted selection is apparently called the "key object".
And it can be used in scripting as app.selectionKeyObject. This solved what i was looking for.
And one can find the last selection by picking the last element in the selection array.