Hotkey step doesn't work in application

Answered
0
1

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

 

  • You must to post comments
Best Answer
0
0

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

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.