 |
AutoHotkey Community Let's help each other out
|
| View previous topic :: View next topic |
| Author |
Message |
Moby Guest
|
Posted: Wed Aug 03, 2005 2:53 pm Post subject: Input box help |
|
|
Right Im trying to make a prorgam that opens a folder somewhere else, but it needs a password to open.
Heres what i got so far.
| Code: | InputBox, password, Moby's Stuff, Enter Correct Password to enter Moby's Stuff, hide
-----------What goes here?------------
Run, C:\Program Files\Moby's Stuff |
Basically i need a validation that checks if the entry (the password) is correct, if correct it opens that folder.
If incorrect then a message box comes up informing.
Ive used autohotkey before but i forgot it and completely forget everything.
P.S If anyone helps my with this then just have the password as 'test'.
Help much appretiated. |
|
| Back to top |
|
 |
BoBo Guest
|
Posted: Wed Aug 03, 2005 3:32 pm Post subject: |
|
|
| Code: | InputBox, password, Moby's Stuff, Enter Correct Password to enter Moby's Stuff, hide
If password <> test
{
MsgBox, Oh boy don't do that again!
ExitApp
}
Run, C:\Program Files\Moby's Stuff |
|
|
| Back to top |
|
 |
toralf
Joined: 31 Jan 2005 Posts: 3841 Location: Bremen, Germany
|
Posted: Wed Aug 03, 2005 3:32 pm Post subject: |
|
|
Please have a look at the script section for a script Rajat has posted. It offers RC4 encryption. So you can use it to store your password inside the program.
Just make a mode of the script. _________________ Ciao
toralf  |
|
| Back to top |
|
 |
Guest
|
Posted: Wed Aug 03, 2005 4:11 pm Post subject: |
|
|
Toralf thanks, i will look there now
Cheers BoBo, that was just what i was looking for!  |
|
| Back to top |
|
 |
|
|
You can post new topics in this forum You can reply to topics in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|