NameError: name 'anyting' is not defined

Asked by Stefan

Hello everyone, I am totally new to sikuli and during the first tutorial ''Hello World'' on windows I get this problem:

[error] Felmeddelande: Traceback (most recent call last):
 File "C:\Users\STEFANTR~1\AppData\Local\Temp\sikuli-tmp8582012040137309261.py", line 2, in
 type(Hello)
NameError: name 'Hello' is not defined

I only have 2 lines:

click("1352412729014.png")
type(Hello)

I tried to read other FAQs but my head started to spin when i looked at all those codes.

Thanks for your help and have a great day.

Question information

Language:
English Edit question
Status:
Solved
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Solved by:
j
Solved:
Last query:
Last reply:
Revision history for this message
Best j (j-the-k) said :
#1

Hi,
you have to put Hello in quotes like this:
type("Hello")

Revision history for this message
Stefan (suppeemil) said :
#2

Thanks j, that solved my question.