Jump to content

One script at a time


Recommended Posts

Hello,

I've been reading for several hours now and finally decided to throw in the towel and ask for help. I've used the search but my key words aren't helping.

Here is my problem. I have written some very basic scripts to control a device properties window (webcam) They all seem to run great. However if several users are viewing my webpage and decide to click the control panel all at once, bad things happen, ie the script gets confused because 2 scripts are working at the same time.

Is there a way to make autoit only run one script at a time, or allow a cue. Also if by chance a script decides to hang for whatever reason is there a function to make it timeout and cancel.

Thanks for the assistance

coupe

Link to comment
Share on other sites

_singleton() might be a start...

"There are 10 types of people in this world - those who can read binary, and those who can't.""We've heard that a million monkeys at a million keyboards could produce the complete works of Shakespeare; now, thanks to the Internet, we know that is not true." ~Robert Wilensky0101101 1001010 1100001 1101101 1100101 1110011 0110011 1001101 10001110000101 0000111 0001000 0001110 0001101 0010010 1010110 0100001 1101110
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...