Trigger macro via batch file
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 comments
Sign up
Already have an account? Login
Log in with Razer ID to create new threads and earn badges.
LOG INEnter your E-mail address. We'll send you an e-mail with instructions to reset your password.