Hi All friends,
I am unable to open Run Application used inside use application scope. I have indicated run application using indicate element in Use application scope but it is not opening Run application after I run the designed workflow . please help me how i can use send hot keys activity inside use application scope to open run command prompt.
Please find attached screenshot for same.
Instead of use application try using a keyboard shortcut with key as win+r
And then try using the type into activity and type the text you want
The method you are using is absolutely fine
It’s with the filepath of run window I believe
The Windows Run dialog box is a resource located in ”C:\WINDOWS\system32\mstsc.exe”
If you are trying to open a cmd prompt window then use this filepath
Hope this would help you resolve this
if i directly use hot key activity it is giving error as use activity inside application scope . i will try using command prompt.
Were you able to run the cmd now
You can Try to use Start Process Activity Surrounded With Try /Catch
hi Gokul Balaji,
How start process is configured"? .Please tell with all details.
There are multiple ways to open a run window
First and simple method is SEND HOT KEY activity with key as win+r
This doesn’t require any scope like use application
Second one is start process activity where pass the filepath of run prompt window as a string
Third is the use Use application method like how you are doing
Try with send hot key activity and with key as win+ r
Without indicating any element
Just the hot key
That should work for sure
hot keys are to not working with community edition studio.
Use start process activity and mention this in filepath property
“C:\Users\Dell\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\System Tools\Run.lnk”
Need to change according to your pc
Is it working fine now @varun_shinde