Author Topic: Running Script file from Macro  (Read 1215 times)

0 Members and 1 Guest are viewing this topic.

MSTG007

  • Gator
  • Posts: 2598
  • I can't remeber what I already asked! I need help!
Running Script file from Macro
« 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)
Civil3D 2020

ronjonp

  • Needs a day job
  • Posts: 7526
Re: Running Script file from Macro
« Reply #1 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.

Windows 11 x64 - AutoCAD /C3D 2023

Custom Build PC

MSTG007

  • Gator
  • Posts: 2598
  • I can't remeber what I already asked! I need help!
Re: Running Script file from Macro
« Reply #2 on: May 18, 2015, 11:43:20 AM »
Got it... Thanks. Sorry for the dumb question.
Civil3D 2020