9 Replies Latest reply on Jan 30, 2013 5:09 AM by klemango

    Passing Variable via BridgeTalk

    klemango Level 1


      I'm simply trying to send send 2 variables through BT to PS from IA to create a new document of the specified size.  Why isn't this working, please?  It works fine if I substitute numbers for the variables in the body of the script.


      #target illustrator;


      var artWidth = 100;

      var artHeight = 100;



      var bt = new BridgeTalk;

            bt.target = "photoshop";         

             var script = "app.documents.add(artWidth,artHeight);"       

             bt.body = script;



      Thank you for saving my sanity, again!