Sign in to follow this  
Followers 0
th3ownerer

two scripts clashing

2 posts in this topic

#1 ·  Posted (edited)

what should happen if i run two different scripts at the some time

cus i tried and none of them worked

(i was running a pokerbot and a simple script as:

While 1 = 1
WinActivate("The page at http://apps.facebook.com says:")
WinWaitActive("The page at http://apps.facebook.com says:")
Send("{ENTER}")
Send("{ENTER}")
Send("{ENTER}")
Send("{ENTER}")
Sleep(960000)
Wend

well the pokerbot worked but this didn't

Edited by th3ownerer

Share this post


Link to post
Share on other sites



Both of the scripts will work, maybe not in the way you expect them to.

Take this example:

Script 1:

While 1
  WinActivate("Notepad")
Wend

Script 2:

While 1
  WinActivate("Calculator")
Wend

Run both of them at once, which window will become active? Answer: They will both be active, one after the other. Very, very fast. 8)

Share this post


Link to post
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
Sign in to follow this  
Followers 0