Can Sikuli simulate ALT+SPACE+X

Asked by KaMiNsKy

Can Sikuli simulate ALT+SPACE+X?

Question information

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

type(Key.SPACE+"x", KeyModifier.ALT)

Revision history for this message
KaMiNsKy (olexsbas) said :
#2

unfortunately does not work as a hot key

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

Hot key?

What are you trying? addHotkey()?

Revision history for this message
KaMiNsKy (olexsbas) said :
#4

ALT+SPACE+X its hot key for maximize window, i want type it

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

Might be a timing problem.

Try this:
type(Key.Space, KeyModifier.ALT) # opens window menu
wait(0,5)
type("x")

Revision history for this message
KaMiNsKy (olexsbas) said :
#6

thanks, work without wait