I’m working on remote desktop and i have to open application so I sent hot key (win r)
But issue is this whenever I’m running the bot it’s working properly but sometimes send hotkey (win r) it’s right but it’s showing also window so I put type into its should be type in (win r) RUN but bot can’t find that element bcz of other window is open
- Add the “Activate” activity before the “Send Hotkey” activity (Win+R).
- In the “Activate” activity, indicate the element that represents the Run dialog (e.g., the text box where you can type commands).
- Set the “SendWindowMessages” property of the “Type Into” activity to “True”. This will make the “Type Into” activity work even if the target window is not in focus.
By using the “Activate” activity and setting the “SendWindowMessages” property, you ensure that the Type Into activity works regardless of whether the Run dialog is initially in focus or not.
If the “Activate” activity still fails to bring the Run dialog to the front, you can also try adding a short delay before the “Type Into” activity to allow time for the window to appear.
Guys what I have done it’s working but some time I shown in below image
@rlgandu @pravallikapaluri @mkankatala
I just want this only not shown in above image sometimes it’s coming like this
@rlgandu @mkankatala @pravallikapaluri
Why you want to open the windows and open the run command.
Are you using to open any application with this. Let me know for more clarity. @suraj_gaikwad
I’m working on remote desktop by cv scope @mkankatala
add some delay activity before the type into activity.
If you want to open any application from run. If yes then use one more cv scope activity to open that application.
can you send the screenshot of keyboard shortcut activity?
By using run command I’m opening the application on remote desktop I have pass the path of application in run command but the run command pop appears but sometimes with run command win pop also coming bcz of this bot not able to find of run command selectors
As you are working in RDC,
I think It will take Some time, So Give delay and Retry scope,Element Exists activity to perform the actions.
So, give some delays after and before type into activity.
And Use CV activities.
I hope it helps
In this case, use the cv element exist activity and capture the popup.
The cv element exist activity gives the Boolean output.
After this, Use if condition to check the Boolean is true or false. @suraj_gaikwad
If the element is found handle the popup with cv activities in then block.
If the element is not found then move forward with cv activities in else block.
First do the process manually, then you have clarity to find where we have to delays to handle the application.
Hope you understand!!
Yes i tried this but it’s not working in cv element exist activity I’m not able to indicate the hole pop up
@pravallikapaluri @mkankatala @rlgandu
If you are unable to indicate whole popup try to indicate the elements which are unique in the popup. @suraj_gaikwad
Hope you understand!!
Yes, I Understood, The CV scope will not able to capture the whole pop up.
Use Cv Scope and capture the whole pop up
Try to Capture the elements in the pop up-multiple times Use Element exists activity
Issue solved I use just again element exist and I sent again send hot key as a escape if pop up available it’s escape that otherwise process move forward
Thank you guys,