Page item selection question...
Hi There,
Please can someone point me in the right direction.
I've written a script that lists objects in a document in a listbox.
Currently the user can select an item in the list, press an OK button, and then be taken to the item using app.documents[0].allPageItems[k].select() when the dialog has closed. That all works fine. What I'm trying to do is create a new button, which I've done, but assign an onClick action to select the page item whilst the dialog is still open.
Is that possible using app.documents[0].allPageItems[k].select() or do I need something different?
So far that line is throwing an error. I know the ID of the page object is correct though.
Please can somone help.
Thanks.
