Re: [Sikuli-driver] [Question #404260]: keydown() doesn't work

2020-05-04 Thread Christos
Question #404260 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/404260

Christos posted a new comment:
Yes. Comment #5

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

___
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 #404260]: keydown() doesn't work

2020-05-04 Thread Alsabit Siyyid
Question #404260 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/404260

Alsabit Siyyid posted a new comment:
Has an answer been achieved for this question?

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

___
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 #404260]: keydown() doesn't work

2016-11-27 Thread masuo
Question #404260 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/404260

masuo posted a new comment:
@Christos
Don't worry, I just wanted to confirm whether there are differences in the 
environment.

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

___
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 #404260]: keydown() doesn't work

2016-11-27 Thread Christos
Question #404260 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/404260

Christos posted a new comment:
@mauso

I don't think I can help you further. That's why I opened this question.
In the end, my problem was that I didn't run Sikuli as administrator.
Try this and if it doesn't work for you, I am sorry but I won't be able
to assist you further...

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

___
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 #404260]: keydown() doesn't work

2016-11-25 Thread masuo
Question #404260 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/404260

masuo posted a new comment:
@Christos
Thank you for your information.
keyDown("o") do not work on my environment.

[my environment:]
  Windows 10 64-bit
  SikuliX1.1.1
  Java 1.8.0_111  64-bit

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

___
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 #404260]: keydown() doesn't work

2016-11-25 Thread masuo
Question #404260 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/404260

masuo posted a new comment:
@Christos
Please introduce your environment (OS, Java, SikuliX, eg.)

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

___
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 #404260]: keydown() doesn't work

2016-11-25 Thread Christos
Question #404260 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/404260

Status: Open => Solved

Christos confirmed that the question is solved:
So, after trying and trying for hours, the problem was that I didn't
run Sikuli as administrator.

Yeap, that's right.

Anyway, problem solved. I hope anyone with the same issue reads this and
solves his issue quicker than I did...

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

___
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 #404260]: keydown() doesn't work

2016-11-22 Thread Christos
Question #404260 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/404260

Status: Answered => Open

Christos is still having a problem:
I tried #3. The button has to be kept down, not repeatedly being pushed.

If anyone else has any ideas, please share!

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

___
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 #404260]: keydown() doesn't work

2016-11-22 Thread RaiMan
Question #404260 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/404260

Status: Open => Answered

RaiMan proposed the following answer:
1. many possible reasons: System, Java, ... no idea

2. no idea

3. for n in range(10): type ("o")

Sorry, on vacation this week

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

___
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 #404260]: keydown() doesn't work

2016-11-22 Thread Christos
Question #404260 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/404260

Status: Answered => Open

Christos is still having a problem:
@Raiman

1. Then why is this working on my laptop and not on my friend's PC (for
the game I am trying to create a sikuli)?

2. What does trigger the keyboard repeat function?

3. Do you have any suggestion for what I am trying to do?

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

___
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 #404260]: keydown() doesn't work

2016-11-21 Thread Christos
New question #404260 on Sikuli:
https://answers.launchpad.net/sikuli/+question/404260

My code :

wait(2)

click(some area)   #click inside a notepad (empty) window

wait(0.5)

keyDown("o")
wait(6.3)
keyUp("o")
wait(1)
keyDown("o")
wait(4.9)
keyUp("o")
wait(1)
keyDown("o")
wait(3.6)
keyUp("o")
wait(1)
keyDown("r")
wait(2)
keyUp("r")
wait(1)


So, instead of having something like this : 
"rrr" (it doesn't 
matter how it would actually look like) I get this : "ooor".

So, instead of keeping "o" and "r" down, it seems it just types it once!

A little backstory :

The above is part of a code for playing a game. "o" is accelaration, "r" is 
reset. 
I have written my code for the same game in my laptop and it works perfectly.
When I transfered my code to my friend's PC, it simply doesn't work. 
When I wanted to undersatand why it wouldn't work, I thought to test it on 
notepad.
I tried for almost 3 hours to find any solution but nothing.
Right now, I tried the code on my laptop and it worked. I am trying the above 
segment on notepad and I get the exact same resaults as on my friend's PC.

Any ideas?

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

___
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