Page 1 of 1

HidMacros automatically reloading its config

Posted: 07 Nov 2014, 17:54
by cristiano_pruneri
I made a small "daemon" (alas, in java) that switches the config files of HIdMacros, when the application in foreground changes (I know, window-based macros are somewhere in your todo list, but I had some time and a certain need for it, so I ran forward).

Right now I have said daemon kill the current instance if HIDMacros, and relaunching it after the file switch. However, I realized I need sometimes to open HidMacros so that it "sees" the windows open.
I think that all my problems would be solved if I could just replace the config file, and then HidMacros were to automatically refresh itself.

I have no idea of how complex would it be for you to make this change, but I do not think too much.

The daemon can be found here: ... 6CVMa?dl=0

The source code is inside the jar (which, famously, is just a renamed zip file with a manifest archive detailing the content), if someone is overtaken by curiosity.

Re: HidMacros automatically reloading its config

Posted: 10 Nov 2014, 08:23
by admin
Noted down already as feature request.
Someone already asked me to have a command in script to read different config file so probably the first thing at my TODO list.

Re: HidMacros automatically reloading its config

Posted: 12 Nov 2014, 19:09
by cristiano_pruneri
Thanks. It is a good news, for me.