TheSwamp

CAD Forums => CAD General => Topic started by: MSTG007 on May 18, 2015, 11:25:26 AM

Title: Running Script file from Macro
Post by: MSTG007 on May 18, 2015, 11:25:26 AM
Is it possible to have a macro execute a script file from support folder? Or does it have to be a hard coded location? I cannot seem to get it to work with the support folder (Basically _script;Run_It.scr) but I can get it to work with (_script;C:/desktop/folder/Run_It.scr)
Title: Re: Running Script file from Macro
Post by: ronjonp on May 18, 2015, 11:40:15 AM
If it's in the support path use (findfile "Run_It.scr"). That will return the full location.
Title: Re: Running Script file from Macro
Post by: MSTG007 on May 18, 2015, 11:43:20 AM
Got it... Thanks. Sorry for the dumb question.