Trigger macro via batch file | Razer Insider
Skip to main content

Trigger macro via batch file

  • November 25, 2020
  • 1 reply
  • 181 views

Good morning community, I am developing an application and I am evaluating the possibility of triggering a certain synapse macro via batch file or any means other than by physically typing the keyboard. Has anyone done something like this? I tried, for example, to add a macro to the "A" key on the keyboard and enter the following code in the CMD: powershell -c "$wshell = New-Object -ComObject wscript.shell; $wshell.SendKeys('a') However, it does not trigger the macro, it just types the "A" key, ignoring the existence of the macro. Would anyone have a better idea of how to do this? Thanks
This topic has been closed for replies.

1 Reply

DeepCerisePERIDOTbiz287
Hey hope all is well sorry your having issues I will look into and read and research and see if I can assist you or maybe even he able to provide a solution to your problem. I'll catch up and reply to you with some of my findings no later than tomorrow!