Question
Retrieving index of a selected Rectangle/Image
I am currently working on a project in which I need to import images and attach captions to them. I would like to create a script that would allow me to select an image and then run the script to attach a textbox beneath it with a caption. In order to do this I need the index number of the select Image/Rectangle. I tried using the Document.selection property but that returns a Rectangle. Using Document.selection.index only returns "undefined."
What is the proper syntax to retrieve the index number of Rectangle/Image that is currently selected in a document?
Thanks,
Justin M.
What is the proper syntax to retrieve the index number of Rectangle/Image that is currently selected in a document?
Thanks,
Justin M.