Jump to content

almost got what i want


Recommended Posts

i just edited this from the package of Au3 setup that i have downloaded here from the site.

i converted it into an executable (passbox.exe)

now what i want to do is attach it into my USB Flash drive (1Gb)

and link it with a file called (autorun.inf)

which contains something like this

[autorun]

icon=passbox.exe

label=Miyu's USB

shell\open\comand=passbox.exe

so that when i double click on my USB it will activate the passbox.exe

and when i entered the correct thing.

what i want to happen is open the USB

i have attached the sample of passbox.au3 together with this message

hope someone with a good heart will give solution to my simple problem

or if ever have some better idea please help me outpassbox.au3

Link to comment
Share on other sites

i just edited this from the package of Au3 setup that i have downloaded here from the site.

i converted it into an executable (passbox.exe)

now what i want to do is attach it into my USB Flash drive (1Gb)

and link it with a file called (autorun.inf)

which contains something like this

[autorun]

icon=passbox.exe

label=Miyu's USB

shell\open\comand=passbox.exe

so that when i double click on my USB it will activate the passbox.exe

and when i entered the correct thing.

what i want to happen is open the USB

i have attached the sample of passbox.au3 together with this message

hope someone with a good heart will give solution to my simple problem

or if ever have some better idea please help me outpassbox.au3

Not possible unless you can mod your drive to run it... U3 drives it will... but otherwise I've never seen nothing. But then again, correct me if I'm wrong. :)
Link to comment
Share on other sites

i attached it into my USB Flash drive (1Gb)

and link it with a file called (autorun.inf)

which contains something like this

[autorun]

icon=passbox.exe

label=Miyu's USB

shell\open\comand=passbox.exe

what i want is when i type the correct password then it should open the directory where i place the au3 file which i converted into an exe, (for example when i place it to USB) it will open the usb

or if i place it into (d:\) or (c:\) it will open those mentioned.

hope u understan my english

; Loop around until the user gives a valid "autoit" answer
$bLoop = 1
While $bLoop = 1
    $Pass = InputBox("Enter Password", "Typ the password here.", "", "*")
    If @error = 1 Then
        MsgBox(4096, "Error", "Action Invalid")
    Else
        ; They clicked OK, but did they type the right thing?
        If $Pass <> "milky18" Then
            MsgBox(4096, "Error", "You typed in the wrong thing - try again!")
        Else
            $bLoop = 0    ; Exit the loop - ExitLoop would have been an alternative too :)
        EndIf
    EndIf
WEnd

; Print the success message
MsgBox(4096,"Access Granted", "-----------------=Welcome Miyu=-----------------")

; Finished!
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...