Jump to content
Sign in to follow this  
MarkMarkMark

Checking a checked checkedbox

Recommended Posts

this is my code now:

run("c:\program files\Internet Explorer\IEXPLORE.EXE")
winwaitactive("Microsoft Internet Explorer")
sleep(200)
send("{ALT}")
send("{X}")
send("{O}")
Send("+{TAB 1}")
send("{UP}")
ControlClick("Internet-opties", "&LAN-instellingen...", "Button13")



$status = ControlCommand ( "LAN-intellingen", "", "Button6", "IsChecked")

if "button6" = $status then
msgbox(1, "1" ,"Proxy server is checked", 2)
Else
msgbox(1, "2", "Proxy server is not checked.", 2)
endif

It doesnt work... what am i doing wrong?

Share this post


Link to post
Share on other sites

Change:

$status = ControlCommand ( "LAN-intellingen", "", "Button6", "IsChecked")

if "button6" = $status then

to:

$status = ControlCommand ( "LAN-intellingen", "", "Button6", "IsChecked")

if $status then

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  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...