Jump to content

Trickey EULA


Recommended Posts

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 by Swimming_BIrd
Link to comment
Share on other sites

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)

NEWHeader1.png

Link to comment
Share on other sites

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.")
EndIf

how 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 by Swimming_BIrd
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...