pawelchcki / semicomplete

Automatically exported from code.google.com/p/semicomplete
0 stars 0 forks source link

Xdotool - Mouse click dificuilties - Drag/Keeping clicked information #88

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
Hi, 
I am trying to automate mouse click sequence. I have a webpage where there are 
three slots each has 1 colour ball. Aim is to click on one of the slot to 
select particular colour ball. Once you click on slot ball gets selected and 
when you click on drop location ball is placed at that drop location. I am able 
to select ball from one of the slot using "xdotool mousemove x1, y1" followed 
by "xdotool click 1" command. 
However when I move cursor to drop location using "xdotool mousemove x2, y2" 
followed by "xtool click 1" command it only clicks but do not place selected 
ball at the drop location (x2 y2).

I also tried using mousedown and mouseup commands to see if its dragging kind 
of feature. 

What is the expected output? What do you see instead?
When I do it manually I observe it is a click (not mousedown) that allows me to 
select a ball and webpage sort of stores the click information in its memory so 
when I click at drop location selected colour ball is placed at that location.

What version of the product are you using? On what operating system?
I am using UBUNTU operating system

Is there any way I can preseve clicked information or click and drag, it seems 
mousemove command do not take in consideration what I clicked earlier and 
looses the information. 

Thanks,
Tejas.

Original issue reported on code.google.com by tejashad...@gmail.com on 16 Jan 2015 at 7:01