Captal caracter when type(key.ENTER)

Asked by Rafael Isaac Primavera Carneiro on 2019-04-02

Hello everybody!

I'm learning about sikuli and found a problem in my first switch case.

I'm making a switch case to open the calc.exe from windows, unsing the script below:

import sikuli

path = '"C:\Users\isa\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\System Tools"'
App.open('CMD ' + path)
exists("1554229740838.png")
type("calc.exe")

type(key.ENTER)

But in the moment to type the function "type(key.ENTER)" my sentence "calc.exe" has been written like "CALC.EXE", a unknown sentence.

So I'd like to know if there is some way to type a lower text.

Question information

Language:
English Edit question
Status:
Solved
For:
Sikuli Edit question
Assignee:
No assignee Edit question
Solved by:
Rafael Isaac Primavera Carneiro
Solved:
2019-04-02
Last query:
2019-04-02
Last reply:

I was using the command key and should be Key.