AnsweredAssumed Answered

Use relative file path in macro?

Question asked by Gordon Rigg on Apr 11, 2018
Latest reply on Apr 11, 2018 by Gordon Rigg

My first macro 1st_macro.swp runs my second macro 2nd_macro.swp using this line of code:

swApp.RunMacro "\\fullfilepath\2nd_macro2.swp", "2nd_macro1", "main"


I was hoping missing the "\\fullfilepath\" out would still run 2nd macro provided it was in the same directory as the first macro.

This didn't work.

Is there a correct syntax to use a relative file path for this?


Do I have to somehow call up the file path of the first macro, and then use that path in this line?