i can't make mouseclick active on ios remote

Asked by ycweng

i use itools to remote my ipad as like mobizen control android
as the mouse will move but mouseDown and mouseClick can't work

Question information

Language:
English Edit question
Status:
Solved
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Solved by:
RaiMan
Solved:
Last query:
Last reply:
Revision history for this message
Best RaiMan (raimund-hocke) said :
#1

try to run from a command line started as admin

Revision history for this message
ycweng (weng1216) said :
#3

thanks a lot, just started by admin...

Revision history for this message
Alexc (alexnospam123) said :
#4

 I have started a command prompt as an administrator (on windows) and started sikuli using java -jar sikuli-ide.jar
I have also started Mobizen as an administrator. dragDrop does not work on the Mobizen application after it appears on the screen.

I will probably resort to using VB script in autoit or compiling a windows api executable and running it if it's really a permissions thing.

Revision history for this message
Alexc (alexnospam123) said :
#5

The specific code in question is

dragDrop(match.offset(Location(0,0)), match.offset(Location(-300,0)))

Revision history for this message
Alexc (alexnospam123) said :
#6

I just found a workaround with:

Settings.MoveMouseDelay = 2
mouseDown(Button.LEFT)
wait(5)
mouseMove(match.offset(Location(-300,0)))

dragDrop still does not appear to be working at this time