8 Replies Latest reply on Oct 23, 2017 4:39 AM by Deepak Gupta

    How can i open (Run) macro by vbscript?

    Kuldeep Sharma

      Dear all respected members,

      i am trying to use a vbscript program to open solidworks then it will also run a specific macro, what will be the suitable code for opening macro.

       

      i am using code for run solidworks.

       

      ***set swapp=createobject("SldWorks.Application")

      ***swapp.visible=true

       

      what will be the next lines to attached macro file which will run after solidworks.

      Thanks in advance.

       

      With Regards