cancel
Showing results for 
Search instead for 
Did you mean: 

How to realize Global mouse click while holding down SHIFT

samuel_a_thomas
Level 3
Hello, I am using Global send Keys along with surface automation to interact with a browser-based application launched on a Citrix distant server. In order to realize a selection of a list of elements, I would like to know if it is possible to realize the following actions: - Hold SHIFT down - Left click (Global mouse click) on an identified region - Release SHIFT Could anybody help me on that please? Thank You in advance.
2 REPLIES 2

John__Carter
Staff
Staff
Hi Samuel try SendKeyEvents - this is the most basic key command where 'shift x' is specified as 'shift down, x, shift up' (NB see Help for actual syntax). So you might be able to put a click between the down and up strokes. A word of warning though - it's possible to 'glue' the shift key down if you forget the up stroke, so be careful.

samuel_a_thomas
Level 3
Thank you very much John, I managed to find how to do that with your help!