this post was submitted on 13 Mar 2025
3 points (100.0% liked)

SikuliX

42 readers
4 users here now

An unofficial community about SikuliX

founded 5 months ago
MODERATORS
 

I'm trying to learn SikuliX, but the documentation is incredibly hard to understand. I'm trying to get it to simply press Ctrl+A just to practice, but this doesn't seem to work and causes it to type only a literal a:

wait(0.5)
keyDown(KEY_CTRL)
wait(0.5)
type('a')
keyUp(KEY_CTRL)

Ultimately, I'm trying to figure out how to get it to press Ctrl+Shift+A. Any help would be appreciated!

you are viewing a single comment's thread
view the rest of the comments
[โ€“] b_van_b@programming.dev 2 points 5 months ago* (last edited 5 months ago) (1 children)

I haven't used it, but from the documentation, it looks like you should do this:

type("a", Key.CTRL + Key.SHIFT)

https://sikulix-2014.readthedocs.io/en/latest/keys.html#key-modifiers-modifier-keys

[โ€“] Flagstaff@programming.dev 1 points 5 months ago

Thanks, I hadn't yet read all the way to the bottom there! That worked.