Jump to content

Simulate Alt-Tab ?


Recommended Posts

Posted

Hey all, getting back into scripting after a 3year break. Was wondering if functionality for simulating Alt-Tab had been added to this bot client?

(As in, when I'm playing for real, I alt-tab ALL the time, when  I alt-tab back, my mouse is often in a different location. Not sure what goes on behind the scenes in the client when you really alt tab, does the client lose track of mouse pointer?) Just would like to implement this into some anti-ban I'm working on, thanks.

Posted

The bot has its own virtual mouse, which is why you're able to bot and still continue to use your mouse normally for other stuff.

This virtual mouse appears to be present only when you're running a script. If user input is enabled and you alt-tab into the bot client, the virtual mouse will be shifted to where your real mouse is.

 

  • Like 1
Posted
27 minutes ago, avid said:

I understand that @liverare, what I'm getting at/trying to ask: Is there a way to make the virtual mouse simulate 'alt-tab' behavior? Like what happens in a legit client when you alt-tab? I've seen some scripts move the cursor to the topleft of the screen, which seems very fishy to me.

Thanks for reply.

 

Surely nothing happens when you alt-tab out of the client. For example if your cursor is over a tree, when you alt-tab out and start doing other things, your cursor will still be on the tree. 

When you alt tab back in the cursor might move to wherever your mouse is, not sure.

Really though, what you should be doing is purchasing a tin foil hat and wrapping your router in cling film to disrupt the evil Jagex signals.

  • Like 7
Posted
On 11/13/2017 at 8:59 AM, Explv said:

 

Surely nothing happens when you alt-tab out of the client. For example if your cursor is over a tree, when you alt-tab out and start doing other things, your cursor will still be on the tree. 

When you alt tab back in the cursor might move to wherever your mouse is, not sure.

Really though, what you should be doing is purchasing a tin foil hat and wrapping your router in cling film to disrupt the evil Jagex signals.

Tin foil is to hard to find these days. I stick with aluminum.

Thank you @Czar! I thought there might be something along those lines going on behind the scenes. Obviously scripts /osbot doesn't make use of that packet though?

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
  • Recently Browsing   0 members

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