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.
thanks regards,
Varun Shinde
Hi
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”
Or
If you are trying to open a cmd prompt window then use this filepath
C:\Windows\System32\cmd.exe
Hope this would help you resolve this
Cheers @varun_shinde
if i directly use hot key activity it is giving error as use activity inside application scope . i will try using command prompt.
Sure
Were you able to run the cmd now
@varun_shinde
Gokul001
(Gokul Balaji)
March 12, 2022, 8:08am
5
Hi @varun_shinde
You can Try to use Start Process Activity Surrounded With Try /Catch
Regards
Gokul
hi Gokul Balaji,
How start process is configured"? .Please tell with all details.
Fine
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
Cheers @varun_shinde
Cheers @varun_shinde
hi palaniyappan,
hot keys are to not working with community edition studio.
Fine
No worries
Use start process activity and mention this in filepath property
”C:\WINDOWS\system32\mstsc.exe”
Cheers @varun_shinde
Gokul001
(Gokul Balaji)
March 12, 2022, 11:34am
10
Hi @varun_shinde
“C:\Users\Dell\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\System Tools\Run.lnk”
Need to change according to your pc
Regards
Gokul
Is it working fine now @varun_shinde