I posted the same question on the "Indesign too, but may this is more a scripting question.
I've inherited a file with lots (+100) buttons on several pages.
They created a New Hyperlink Destinations > Text anchor and referenced the button to that anchor. Now, I need to know which button refers to which text anchor (some buttons do nothing). I can use the panel for some of the buttons, but isn't it possible to get a list of all buttons and their anchor?
This might be what you are after http://kasyan.ho.com.ua/export_button_description_settings.html
Mentioned also here at post #4 Re: [JS CS6] Is anybody able to get button’s printableInPdf property?