Page 1 of 1

Scripts Dir

Posted: Thu Aug 15, 2013 12:31 pm
by aliex
Hello! Is there a way to define where the Script Dir is? Right now i have to copy all my scripts in "micromacro/scripts", it would be nice if i could tell MM to load the scripts from "D:\Bots\Scripts" or from anywhere else.

Re: Scripts Dir

Posted: Thu Aug 15, 2013 6:12 pm
by Administrator
No, it is, at the time being, compiled into the executable (micromacro.exe). However, I'll put this on my to-do list to move that to a config variable.

You can specify a full path to a script when running it from the command line, though:

Code: Select all

micromacro.exe D:\Bots\Scripts\script.lua

Re: Scripts Dir

Posted: Fri Aug 16, 2013 8:36 pm
by Administrator
I've worked something up pretty quick. You can test it for me.
You'll only need to update your micromacro.exe and add this line to your config.lua file:

Code: Select all

	scriptsDirectory = "D:/Bots/Scripts/";

Re: Scripts Dir

Posted: Wed Aug 21, 2013 6:59 am
by aliex
Administrator wrote:I've worked something up pretty quick. You can test it for me.
You'll only need to update your micromacro.exe and add this line to your config.lua file:

Code: Select all

	scriptsDirectory = "D:/Bots/Scripts/";
Works perfect. thanks! :geek: