Please, request an idea in the
ideas portal for such functionality.
Meanwhile, you can try the following script:
defVar --name bounds --type RectangledefVar --name point --type PointgetControl --selector "Id" --id myId bounds=boundssetVar --name "${point}" --value "${bounds.X},${bounds.Y}"mouse --mode "Move" --resolution "Absolute" --point "${point}"
mouseClick --clickevent "RightClick"
It uses
getControl to find the control specified by the selector (as you would in the
click command). Then it uses the control position to move the mouse and right-click. If the control changes position, that's okay, because we're searching using the selector and not hard-coded position.
------------------------------
Joba Diniz
Product Manager
IBM
------------------------------
Original Message:
Sent: Thu February 03, 2022 02:51 PM
From: Will Asower
Subject: Right-Clicking in IBM RPA?
Yea it looks like you are right Rudolf. The right-click functionality has been removed from the Click command without a suitable replacement.
Using the mouse click command won't work for me since the icon will not always be in the exact same location every time.
This is a large gap in functionality that I am disappointed to see was removed.
------------------------------
Will Asower
Original Message:
Sent: Wed February 02, 2022 11:20 AM
From: Rudolf Oosthuizen
Subject: Right-Clicking in IBM RPA?
On the documentation you used to have a right click option on click.
You can look at the mouse command or mouse click if you can use one those two.
Mouse click :
mouse --mode "Move" --resolution "Absolute" --point "1048,344"delay --timeout 00:00:02mouseClick --clickevent "RightClick"delay
------------------------------
Rudolf Oosthuizen
Original Message:
Sent: Tue February 01, 2022 10:23 AM
From: Will Asower
Subject: Right-Clicking in IBM RPA?
I am able to see the element. However I cannot find an IBM RPA command that allows me to "right-click."
Here is the sample bot if it helps
defVar --name window --type Window
findWindow --classname Shell_TrayWnd window=value
click --selector "IdAndName" --controlsimilarity 100 --id 1502 --name "Notification Chevron"
click --selector "Name" --controlsimilarity 100 --name "Right click to see options" --comment "Should be a right-click"
------------------------------
Will Asower
Original Message:
Sent: Tue February 01, 2022 07:22 AM
From: Vinicius Marques
Subject: Right-Clicking in IBM RPA?
Sometimes the IBM RPA tray icon will not be visible until you restart the IBM RPA Agent service. Can you try that?
------------------------------
Vinicius Marques
Original Message:
Sent: Mon January 31, 2022 10:36 AM
From: Will Asower
Subject: Right-Clicking in IBM RPA?
Can you right-click in IBM RPA?
I'm attempting to right-click the IBM RPA notification on the bottom right to activate "Disconnect IBM RPA Always On", however I cannot seem to find a way to right click the IBM RPA icon, or even select the proper option once it is right-clicked.
------------------------------
Will Asower
------------------------------