I'm still learning to automate for Indesign CS5.5, but I've got a problem referencing to any enumerations for example idPageSideOptions.idLeftHand. Even if I'm running the MakeTextFrameWithinMargins.vbs that wasn't created by me, but can be downloaded on the automation page of indesign (http://www.adobe.com/products/indesign/extend.displayTab2.html) it still does not work.
It gives me the following error: "Object required: 'idPageSideOptions'"
What am I doing wrong?
I work under Windows 7 HP 64-bit, also tried under Windows XP with Service Pack 2. Both didn't work. Still working on the trial atm, so may'be it's a limitation of the trial? Got full version coming my way, this week.
Thanks for your help.
It's not a limitation of the trial (Never assume that!).
Try running InDesign as Administrator once, quiting it, and then trying again.
Still isn't working for me. Also tried the following:
Deleted the Resources for Visual Basic.tlb
Run Indesign in Administrator
Then Start Indesign again
Still gives me the same error unfortunately
Also tried running Indesign in Administrator mode then run the script.
Gave me another error "ActiveX Can't create object Indesign.Application"