Captal caracter when type(key.ENTER)

Asked by Rafael Isaac Primavera Carneiro

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:
SikuliX Edit question
Assignee:
No assignee Edit question
Solved by:
Rafael Isaac Primavera Carneiro
Solved:
Last query:
Last reply:
Revision history for this message
Rafael Isaac Primavera Carneiro (elrafapc) said :
#1

I was using the command key and should be Key.