0 Replies Latest reply on Aug 24, 2012 3:08 AM by vDeepak

    Problem with excuting the script by menu added to indesign menu




      I have one startup script. It runs on the "mytarget"  target engine and setups ups some custom menu items and actions to indesign which call some other custom scripts. Now when I launch Indesign and click on the menu; the custom script get execute but it behaves differently from same script executed with ExtendScript Toolkit.


      In specific, I have used the 'paragraph.spanColumnType' property in my custom script. When I run this script directly with ExtendScript Toolkit, it works fine. but when I use menu item(added by startupscript) to call this script; it gives me an error -


      Object does not support the property or method 'spanColumnType'.


      I am using JavaScript in InDesign CS 5.5


      Is there any solution for this?