Borje Posted February 10, 2009 Share Posted February 10, 2009 (edited) When I Obfuscated this script the cansel button not works only the OK button is there anybody here can tell me what the problem is or perhaps I do some wrong here.Test.au3 Edited February 10, 2009 by Borje Link to comment Share on other sites More sharing options...
DaRam Posted February 10, 2009 Share Posted February 10, 2009 Where to start, oh, well.... You should be using Msgbox rather than InputBox for Ok, Cancel type interaction. Beyond that, based on your code - you should be checking $sInputBoxAnswer1 value rather than @error. What's the deal with using so many & @CRLF & @CRLF & " " & @CRLF & " " & @CRLF & @CRLF & " " & @CRLF & @CRLF & @CRLF & @CRLF When I Obfuscated this script the cansel button not works only the OK button is there anybody here can tell me what the problem is or perhaps I do some wrong here. Link to comment Share on other sites More sharing options...
Borje Posted February 10, 2009 Author Share Posted February 10, 2009 I must have a inputbox to type in a name and some data the many @CRLF is only there for I have remove some text there is the only reason but what is happen with the buttons after I Obfuscated this little script, before I Obfuscated is working but not after. Link to comment Share on other sites More sharing options...
DaRam Posted February 10, 2009 Share Posted February 10, 2009 Try this: Local $applicationName = "Testing of input", $sInputBoxAnswer1=0 $sInputBoxAnswer1 = InputBox ( "TEST INPUT " & $applicationName, "Your Prompt Text here", $sInputBoxAnswer1); Append your other parameters If @error Or $sInputBoxAnswer1 = "" Then MsgBox(64, $applicationName, "Cancel button was pressed") Exit EndIf MsgBox(64, $applicationName, "Ok button pressed & Answer=" & $sInputBoxAnswer1) ; The rest of your code... I must have a inputbox to type in a name and some data the many @CRLF is only there for I have remove some text there is the only reason but what is happen with the buttons after I Obfuscated this little script, before I Obfuscated is working but not after. Link to comment Share on other sites More sharing options...
Borje Posted February 10, 2009 Author Share Posted February 10, 2009 Thanks daRam I test this thank you. Link to comment Share on other sites More sharing options...
Borje Posted February 10, 2009 Author Share Posted February 10, 2009 Ok DaRam it works thanks again. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now