Question
InDesign find object preferences
I need to search for every empty graphic frame in my document, export it as PNG, and re-import the PNG into the frame.
Before I can find, though, it seems I need to set the proper setting:
Tried the following but keep getting an error:
app.findObjectPreferences.objectType = ObjectTypes.GRAPHIC_FRAMES_TYPE;
Message returned:
Error Code# 55: Object does not support the property or method 'objectType' @ file '~/Documents/Tweak/InDesign/Graphic%20Frame%20Fix.jsx'
How do I set the preference and get an array of the objects?
