Sign in to follow this  
Followers 0
Noobcube

checkbox

3 posts in this topic

how could i make my script do the following

IF checkbox1 is checked and checkbox 2 isnt

do this......

If BitAnd(GuiCtrlRead($Checkbox10),$GUI_CHECKED) then

Controlsend("xxxx", "", "" ,"=")

Controlsend("xxxx", "", "", "{tab}")

EndIf

is wht im currently using

thanks

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

You almost had it...

If BitAnd(GuiCtrlRead($Checkbox1),$GUI_CHECKED) And Not BitAnd(GuiCtrlRead($Checkbox2),$GUI_CHECKED) Then

@Edit: CheckBox2 is NOT checked

Edited by Skruge

[font="Tahoma"]"Tougher than the toughies and smarter than the smarties"[/font]

Share this post


Link to post
Share on other sites

Hi Noobcube,

Please create descriptive topics.

Using one word topics makes it really difficult to use the search feature, and those that could probably answer your question will probably not even read your thread.

Doing it enough could cause your posting privileges to be taken away all together, and we don't want that :) .

Thanks.

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