Jump to content

need help with script for bot


 Share

Recommended Posts

Dirty notes:

1) This is wrong:

$FoldVisible = ControlCommand($tablename,"",$FoldButton,"Is Visible","");

$RaiseVisible =ControlCommand($tablename,"",$RaiseButton,"Is Visible","");

Replace "Is Visible" in both lines with "IsVisible" which is the correct.

2) In this line:

ControlClick($tablename,"",$CallButton)

I don't see where you declare $CallButton in your script. Please, declare a var before using it here.

3) Also in this line:

If(PixelGetColor(735,251)== $SeatOpenColor Then

You didn't close the parenthesis (and I am not sure that this is the proper way of using parenthesis in AU3).

Global advice: Use Scite.

Link to comment
Share on other sites

Dirty notes:

1) This is wrong:

$FoldVisible = ControlCommand($tablename,"",$FoldButton,"Is Visible","");

$RaiseVisible =ControlCommand($tablename,"",$RaiseButton,"Is Visible","");

Replace "Is Visible" in both lines with "IsVisible" which is the correct.

2) In this line:

ControlClick($tablename,"",$CallButton)

I don't see where you declare $CallButton in your script. Please, declare a var before using it here.

3) Also in this line:

If(PixelGetColor(735,251)== $SeatOpenColor Then

You didn't close the parenthesis (and I am not sure that this is the proper way of using parenthesis in AU3).

Global advice: Use Scite.

Thank you,But it is still not working.I reposted the changes?
Link to comment
Share on other sites

  • Moderators

There are no post to changes, just empty [Attatchments].

Question:

Did you download SciTE like erebus suggested?

If so:

Post your errors

If not:

Do so.

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Link to comment
Share on other sites

My wife is about to leave me I have spent so much of my time trying to get this thing running!

I have spent 2 weeks trying Will some one please take a look and tell me what is wrong?

If your wife leaves you you may have time to get the script running! B)

Seriously, what are you 'bot'ting?

Link to comment
Share on other sites

  • Moderators

is your wife hot? let me know when she is available.. hey can i just get your phone number now? i dont like to wait

B) HA!

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

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