Re: [Sikuli-driver] [Question #703663]: no viable alternative at input keydown?

2022-10-31 Thread Manfred Hampl
Question #703663 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/703663

Status: Open => Answered

Manfred Hampl proposed the following answer:
You have to put the C between quotes to specify that it is the character "C" 
and not a variable with that name.
keyDown("C")
or
keyDown("c")
if it is without "shift".

What is the exact error message for the mouse click? (I assume it cannot
be "...  at input 'keyDown'")

-- 
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?

2022-10-31 Thread Ralph Whitlock
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


[Sikuli-driver] [Question #703652]: multiple monitors, multiple fullscreen windows support

2022-10-31 Thread xiaopeng
New question #703652 on SikuliX:
https://answers.launchpad.net/sikuli/+question/703652

I have multiple fullscreened windows somtimes minimized on multiple monitors.
does SikuliX supports actions on each of those windows ?

-- 
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