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

Trigger macro via batch file

  • November 25, 2020
  • 1 reply
  • 156 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
Did this topic help you find an answer to your question?
This topic has been closed for comments

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!

Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings