sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #58505
[Question #703663]: no viable alternative at input keydown?
New question #703663 on SikuliX:
https://answers.launchpad.net/sikuli/+question/703663
So I'm making a program for automatically fishing in stardew valley, but I can't even get the program to hold the mousebutton or a keypress. It only gives me this error:
[error] SyntaxError ( "no viable alternative at input 'keyDown'", )
What I've written so far is this:
wait(5)
click("1667230014998.png") #Stardew taskbar icon so the game is focused#
mouseMove(Location(2031, 807)
keyDown(C)
wait(1.5)
keyUp(C)
I don't see how this gives me an error.
I get the same error when I do this:
mouseDown(Button.LEFT)
wait(1.5)
mouseUp(Button.LEFT)
Any help would be appreciated!
--
You received this question notification because your team Sikuli Drivers
is an answer contact for SikuliX.