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 

Folders

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





PostPosted: Wed Aug 06, 2008 4:17 pm    Post subject: Folders Reply with quote

Hey, is there any way to make a folder so you need a password to get into it through ahk?
I usually use a computer which is accessable to multiple users, not really public but in that fashion. There is only the one logon so we all have access to the nonadministrative logon and I would like to keep some of my programs from being messed with.

T-I-A!

dougy
Back to top
trueski



Joined: 08 Apr 2008
Posts: 32

PostPosted: Wed Aug 06, 2008 5:06 pm    Post subject: Reply with quote

this is a start, if there's only one user, you could use

Code:
IfWinExist,
  {
      WinSet, ; Disable the window
      InputBox, ; Prompt for password
        IfNotEqual, ;If wrong password
          Winclose, ; Close the window
        Else ; Otherwise
          WinSet, ; Re-enable window
    }


use AHK help file for more info on commands
_________________
-Trueski-


Last edited by trueski on Wed Aug 06, 2008 8:14 pm; edited 1 time in total
Back to top
View user's profile Send private message
dougy
Guest





PostPosted: Wed Aug 06, 2008 7:31 pm    Post subject: Reply with quote

THANKS! I'll try it!

dougy
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