I'm looking for a way, possibly via a script, to export all selected objects on an InDesign page as individual separate PNG files.
InDesign can do it for you.
When you complete the export, the PNG files will be in a folder. Throw out the accompanying html file.
Retrieving data ...