Answered
Hi, I am automating process in javaw.exe application and when I try to use Hotkey step to send shortcut Alt + L it doesn’t work, but when I do it manually it works?
Thanks in advance,
Roko
- Roko asked 9 months ago
- You must login to post comments
Best Answer
I had the same problem so I made .vbs script file and it works for me:
shortcut = WSCript.Arguments.Item(0)
Set WshShell = WScript.CreateObject(“WScript.Shell”)
WshShell.SendKeys shortcut
Save file locally and then in HQ use step Execute Command Prompt.
In step in Path to application field put cscript //nologo and in arguments put file path and shortcut you want to use.
In your case it is Alt+L so you will write “C:\RPA\sendShortcut.vbs” “%L”
Hope it helps
- PetraP answered 9 months ago
- You must login to post comments
Your Answer
Please login first to submit.