This maybe a silly question.
Is there a way to open MicroMacro and have it automatically insert the command, "rom/bot.lua"
Via a shortcut or something similar?
I know you may say. "you lazy arse!"
But as many times I close the MM window and reopen it, This would be a nice thing to do.
Probably something really simple but I havent found a way to do so.
Thank you,
as always, awesome work on all this.
Adding Auto Command to Micromacro
Forum rules
This is a sub-forum for things specific to MicroMacro.
This is not the place to ask questions about the RoM bot, which uses MicroMacro. There is a difference.
This is a sub-forum for things specific to MicroMacro.
This is not the place to ask questions about the RoM bot, which uses MicroMacro. There is a difference.
- Administrator
- Site Admin
- Posts: 5331
- Joined: Sat Jan 05, 2008 4:21 pm
Re: Adding Auto Command to Micromacro
Of course there is. Since MicroMacro is a CLI-based software, it will accept command-line arguments. Open notepad (or any plain text editor--do not use rich text) and type this in:
When you are passing the script to MicroMacro from command line, you will need to precede it by 'scripts/' (assuming it is in the scripts folder). Other than that, it's the same basic idea. Now, you need to save it into your MicroMacro folder as "rombot.bat" (anything before the .bat can be changed). Remember to change the save-as type to "All". If you leave it as "Text Document", it will be saved as a .txt and not a .bat, which means you won't be able to run it. Now, all you need to do is double-click this new file in your MicroMacro folder, and it will start the bot.
Code: Select all
micromacro scripts/rom/bot.lua
- wallofchaos
- Posts: 7
- Joined: Sun May 31, 2009 9:55 am
Re: Adding Auto Command to Micromacro
I guess I dont get it, still having problems. The MM window closes as soon as I click the .bat file.
I have tried a few ways.
micromacro/micromacro/scripts/rom/bot.lua
Yes MM is inside another folder MM
Also tried micromacro/scripts/rom/bot.lua
And the one you suggested. The window just dissapears.
BotDir is "D:\micromacro\micromacro\scripts\rom"
I have tried a few ways.
micromacro/micromacro/scripts/rom/bot.lua
Yes MM is inside another folder MM
Also tried micromacro/scripts/rom/bot.lua
And the one you suggested. The window just dissapears.
BotDir is "D:\micromacro\micromacro\scripts\rom"
Who is online
Users browsing this forum: No registered users and 11 guests