Jump to content

Running Script in inactive window while watching


Recommended Posts

Ok, this was what I was doing. Created a script using ControlSend to an inactive window and looping it a 100 times. Its in a game and its grinding by itself. Well I dont want to watch a bot doing the stuff thus the use of controlsend, so I browse the net while the bot does its stuff. But sometimes the ALT key locks up, the Capslock goes haywire. So thats the problem, the script works totally fine if I dont do anything else except to let it run, but it would be fantastic if I could just work at my computer while this script works in the background without affecting my active windows.... PLEASE HELP! THANKS IN ADVANCE GUYS!

Script looks something like this:

$Run = 0

Do

ControlSend ("Game", "", "", "1", 0);

Sleep(500);

ControlSend ("Game", "", "", "2", 0);

Sleep(500);

$Run=$Run + 1;

Until $Run = 100

Link to comment
Share on other sites

Thats the whole code. It works perfectly on my minimized game. The problem is when Im doing other stuff like browsing or chatting. I can see the CAPSLOCK blinking on and off, and sometimes the keyboard locks and I have to press ALT to release it. IS there no way aroung this? anyone having the same problems?

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...