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:
https://www.dropbox.com/sh/ul13bv7xy86p ... 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.
HidMacros automatically reloading its config
-
- Posts: 14
- Joined: 19 Jul 2013, 12:43
Re: HidMacros automatically reloading its config
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.
Someone already asked me to have a command in script to read different config file so probably the first thing at my TODO list.
Petr Medek
LUAmacros author
LUAmacros author
-
- Posts: 14
- Joined: 19 Jul 2013, 12:43
Re: HidMacros automatically reloading its config
Thanks. It is a good news, for me.