Swimming_Bird Posted July 1, 2005 Posted July 1, 2005 (edited) How would i go about making a pretty tricky eula where a user would have to click on a word that looks normal to accept it.something like this:Legal blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah If you understand and accept the preceeding terms click here.at which point they would have to click on the word here to get the script to work.I was thinking of perhaps trying to hide a radio button under the word and just having an error pop up when someone trys to click done without having selected that radio button. Edited July 1, 2005 by Swimming_BIrd
Valuater Posted July 1, 2005 Posted July 1, 2005 here ya go #include <GuiConstants.au3> GuiCreate("MyGUI", 392, 323) GUICtrlCreateLabel("Legal blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah" &_ @CRLF & @CRLF & "",20,20,360,200) GUICtrlCreateLabel("If you understand and accept the preceeding terms click",20,230,270,20) $In_label = GUICtrlCreateLabel("here.", 290,230, 60, 20) GUISetState() While 1 $msg = GuiGetMsg() Select Case $msg = $GUI_EVENT_CLOSE ExitLoop Case $msg = $In_label MsgBox(0,"Test", "You have accepted the terms") EndSelect Sleep(20) WEnd 8)
Alterego Posted July 1, 2005 Posted July 1, 2005 Unless you have a legal time assiting you in writing our EULA, you are most likely digging yourself a hole. Legalese is a tricky business. This dynamic web page is powered by AutoIt 3.
Swimming_Bird Posted July 1, 2005 Author Posted July 1, 2005 (edited) Awesome!!!This is badass,Now one question, this is the code i am using:If $eula = 1 Then ExitLoop Else MsgBox ( 0 , "Error" , "Please read the EULA and confirm that you understand it.") EndIfhow can i make it so the first time this runs w/o $eula = 1 it gives one error, then 2nd time a different error, then 3rd time another error, then finally the 4th time it shows them a picture about how to do it. BTW this is all within a While and Select loop.Unless you have a legal time assiting you in writing our EULA, you are most likely digging yourself a hole. Legalese is a tricky business.<{POST_SNAPBACK}>Ya, i got compliance and legal writing the EULA, its not actually an EULA i just couldnt think of a better term for it. Edited July 1, 2005 by Swimming_BIrd
Valuater Posted July 1, 2005 Posted July 1, 2005 (edited) $t="" If $eula = 1 Then ExitLoop Else $T= $T + 1 if $t = 1 thenMsgBox ( 0 , "Error" , "Please read the EULA and confirm that you understand it.") if $t = 2 then.........bla EndIf Edited July 1, 2005 by Valuater
Swimming_Bird Posted July 1, 2005 Author Posted July 1, 2005 (edited) Thanks Edited July 1, 2005 by Swimming_BIrd
Swimming_Bird Posted July 1, 2005 Author Posted July 1, 2005 is this the correct way to do greater then or equal to? If $T >= 4 Then
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