Hi,
I'm using HIDmacros to send clicks from several mice to the program "OpenViBE".
1 specific mouse should Trigger different AHK-scripts depending on left/right/middle-click, or (alternatively)simply trnsmit a specific character (keystroke).
this worked absolutely fine for some time, but after renaming some mice no Triggers occur any more.
I set up all HIDmacros from the scratch, but still mouse clicks do not have any effect.
mice names are ok, after "SCAN" correct Trigger (mice and Buttons) are shown.
Under "Action" "Predefined" I have inserted the Name of an AHK-Skript for "run application" and a letter for "send Keyboard sequence".
after changing to "scripted", I could compile the macro for every mouse; the button "test" does not Show any effect.
Finally, I hit "save configuration".
Now, I exspected execution of the AHK-scripts whenever I do a click with the corresponing mouse, but nothing happens.
did I miss something?
Thank you in advance for any advice.
P.B.
hidmacros don't transmit
Re: hidmacros don't transmit
now I found the solution myself:
it works, if you put every macro to "Action" "predefined", activate "run application" and (as soon as you have done this for all macros) hit
"Compile All" and "Save Configuration".
But here is another question:
what is the purpose/the function of "Action" "Scripted"? I don't find any Explanation in the docu, and "Trial and error" delivered error only.
it works, if you put every macro to "Action" "predefined", activate "run application" and (as soon as you have done this for all macros) hit
"Compile All" and "Save Configuration".
But here is another question:
what is the purpose/the function of "Action" "Scripted"? I don't find any Explanation in the docu, and "Trial and error" delivered error only.
Re: hidmacros don't transmit
Switching between Predefined and Scripted tab is not only GUI thing but valid option how macro behaves when triggered. If you choose Predefined and pick some option (like Run application) then you define what macro will do. If you switch to Scripted tab then macro will run a script when triggered.
You can see that Predefined/Scripted sheet is stored for each macro and active tab will change as you are clicking at different macros.
You don't have to press "Compile all" if you're not using scripting.
Scripted tab is for scripts - see http://www.hidmacros.eu/scripting.php
You can see that Predefined/Scripted sheet is stored for each macro and active tab will change as you are clicking at different macros.
You don't have to press "Compile all" if you're not using scripting.
Scripted tab is for scripts - see http://www.hidmacros.eu/scripting.php
Petr Medek
LUAmacros author
LUAmacros author