AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Input box help

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
Moby
Guest





PostPosted: Wed Aug 03, 2005 2:53 pm    Post subject: Input box help Reply with quote

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





PostPosted: Wed Aug 03, 2005 3:32 pm    Post subject: Reply with quote

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

PostPosted: Wed Aug 03, 2005 3:32 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
Guest






PostPosted: Wed Aug 03, 2005 4:11 pm    Post subject: Reply with quote

Toralf thanks, i will look there now

Cheers BoBo, that was just what i was looking for! Very Happy
Back to top
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group