Jump to content

Mouse automation doesn't work when AirDroid is active, why/how?


 Share

Recommended Posts

Hi.

I just connected AirDroid to control my phone through my PC. There is an action log that contains a long list of logs from a number of apps that I wanted to remove. It's a question of clicking the log entry, then clicking OK. It's really easy, but there's about 200 log entries I'd like to click away like that, so I thought let's just automate it.

The problem is that as soon as the window is active, the mouseclick and mousemove commands just don't do anything any more. Nothing. As soon as I click outside the window (background or another app), everything works fine again.

The AirDroid application must somehow block the mouse automation. I can't image this is done on purpose, I mean, why would they. So what's going on here?

Roses are FF0000, violets are 0000FF... All my base are belong to you.

Link to comment
Share on other sites

Lol... After spending half an hour on this and finally laboriously clicking away about 150 of 'em, I noticed this little trash bin icon in the corner. "Remove all entries?" Yes, yes, for the love of all that's good and holy, YES! And blammo, all done. Still I'm wondering what's going on with the mouse control.

Roses are FF0000, violets are 0000FF... All my base are belong to you.

Link to comment
Share on other sites

Sounds to me like it actively blocks windows messages, or acts differently with them, more than likely in favour of using its own cursor and what not.

No doubt it's a java app.

 

It looks and feels totally like an android app. So yeah, it was probably built in Java for Android and then ported to Windows.

Roses are FF0000, violets are 0000FF... All my base are belong to you.

Link to comment
Share on other sites

I see I have some reading to do! Wow! Tried out that simplespy thingy, really great, never imagined this kind of control to even be possible in AutoIt.

Must say though that SimpleSpy crashes the AutoIt engine when I press Ctrl+W while my mouse pointer hovers over the AirDroid window... As in:

VNxQKQN.png

Now AirDroid is not anywhere near important enough for me to work on any more, but man is that IUIAutomation some interesting stuff. Thanks for the hint!

Roses are FF0000, violets are 0000FF... All my base are belong to you.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...