7 Replies Latest reply on Mar 5, 2017 6:24 PM by Artem Taturevych

    Setting up a custom task with macro

    Greg Raymond

      Good morning,

       

      I have been reading about running a macro in the task scheduler but I am still confused as to what the program path is. I have a stock size macro that I want to run on parts only, it errors out with assemblies and we don't need it for that. How do I go on about this?

       

      I can deduct that the macro file path, I put my macro in there. However what do I put in the program file path, it's asking for an executable, I have no .exe files.

       

      Anything in the program arguments? Do i need to specify to run the main code?

       

      And finally, where do I put the folder path that I would to run this one along with .sldprt files only?

       

      I just want to run this once, not daily or weekly schedule. I also am not familiar with coding to know what the dir() does. I would prefer to use the task scheduler and specify the folder. Sometimes we run the macro as we are designing the part. However sometimes we get designs from outside and need to run the macro on every part.

       

      Thank you in advance for any help.