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

SikuliX

46 readers
1 users here now

An unofficial community about SikuliX

founded 2 weeks ago
MODERATORS
3
submitted 2 weeks ago* (last edited 2 weeks ago) by Flagstaff to c/sikulix
 

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!

top 2 comments
sorted by: hot top controversial new old
[โ€“] b_van_b 2 points 2 weeks ago* (last edited 2 weeks 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 1 points 2 weeks ago

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