How to use ctrl+shift+> (Greater Than Key) in sikuli

Asked by demo

How to use 3 keyboard events functionality in Sikuli..I need to use Ctrl_Shift_Right arrow keys together

Question information

Language:
English Edit question
Status:
Answered
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
RaiMan (raimund-hocke) said :
#1

seed docs: http://doc.sikuli.org/keys.html#Key

type(Key.RIGHT, KeyModifier.CTRL+KeyModifier.SHIFT)

Revision history for this message
demo (sonalisaxena) said :
#2

Thanks for the help..Kindly let me know if there is some solution for the Greater than Key(>)instead of Right arrow
I want to use the following combination:

Ctrl+ Shift + >

Revision history for this message
RaiMan (raimund-hocke) said :
#3

What keyboard (language/layout) ?

Revision history for this message
raghushankar (raghu-chandrashekar-o) said :
#4

please use as below to type Ctrl_Shfit+>
type(">",KeyModifier.CTRL+Key.Modifier.SHIFT)

Revision history for this message
RaiMan (raimund-hocke) said :
#5

@ raghu-chandrashekar-o
Generally with the current version of Sikuli this will only work on a US-qwerty keyboard layout.
Since on this keyboard pressing > already needs the shift key( shift period), the above key combination only makes sense for keyboards, that produce the > without using the shift key.

So I guess what is meant: ctrl + > (which implies the shift key)

hence the solution (but only on US-qwerty):
type(">", KeyModifier.CTRL)

Revision history for this message
raghushankar (raghu-chandrashekar-o) said :
#6

yes, "type(">", KeyModifier.CTRL)" will also be the better solution.

Can you help with this problem?

Provide an answer of your own, or ask demo for more information if necessary.

To post a message you must log in.