Jump to content
Sign in to follow this  
Errorlevel_03

Simple test...

Recommended Posts

Errorlevel_03

Here is what i have so far

MsgBox(0, "Hidden Icon Button", "This is disable the hidden icons button")
ControlDisable("", "start", 1502)
$return = MsgBox(4, " ", "Click to enable hidden icons button", 1000000)
If $return = 6
ControlEnable("", "start", 1502)
Exit
Else

This is leave the button disabled. Im looking to some how loop back to $return if $return = 7


I hope you know what a spoiler is...[u]"title WOOPS:Var_start "WOOPS" %0goto Var_"-A true n00b at work[/u]

Share this post


Link to post
Share on other sites
nobby

Try this:

MsgBox(0, "Hidden Icon Button", "This is disable the hidden icons button")
ControlDisable("", "start", 1502)
restart()
Func restart()
$return = MsgBox(4, " ", "Click to enable hidden icons button", 1000000)
If $return = 6 Then
ControlEnable("", "start", 1502)
Exit
ElseIf $return = 7 Then
    restart()
EndIf
EndFunc

CheersNobby

Share this post


Link to post
Share on other sites
Errorlevel_03

Thanks! I dunno much about functions yet but ill try lol, next step GUI!


I hope you know what a spoiler is...[u]"title WOOPS:Var_start "WOOPS" %0goto Var_"-A true n00b at work[/u]

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.