You have reversed arguments when you call the function myGetBounds
var myBounds = myGetBounds(myPage,myDocument); function myGetBounds(myDocument, myPage)
I realized that. The script is copied-and-pasted from the "Adobe CS6 Scripting Tutorial" PDF. I tried reversing the arguments and when I ran the script from the ID script panel nothing happened (there was no indicationat all that it ran the script)
Well, did the frame fit the page dimensions?
Yes.Thank you for your help.
Note to all: "Adobe CS6 Scripting Tutorial" PDF has at least one error in their script. See the first post in this thread.