Re: [Sikuli-driver] [Question #703663]: no viable alternative at input keydown?
Question #703663 on SikuliX changed: https://answers.launchpad.net/sikuli/+question/703663 Ralph Whitlock confirmed that the question is solved: Thanks Manfred Hampl, that solved my question. -- You received this question notification because your team Sikuli Drivers is an answer contact for SikuliX. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
Re: [Sikuli-driver] [Question #703663]: no viable alternative at input keydown?
Question #703663 on SikuliX changed: https://answers.launchpad.net/sikuli/+question/703663 Status: Answered => Solved Ralph Whitlock confirmed that the question is solved: Thanks a lot Manfred Hampl! That was the problem regarding the keyDown and keyUp and it works with quotation marks! And now it seems that mouseDown and mouseUp works for some reason. -- You received this question notification because your team Sikuli Drivers is an answer contact for SikuliX. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
[Sikuli-driver] [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. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp