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 

How do I encrypt a file so I can't open it?

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



Joined: 12 Jun 2009
Posts: 389

PostPosted: Fri Aug 14, 2009 11:36 pm    Post subject: How do I encrypt a file so I can't open it? Reply with quote

I've made this script that you select a file, then select a time limit in minutes, and after that time is up, it opens that file. What I want it to do is to encrypt the file so I can't open it until the time limit is up. How would I go about doing that?

Code:
a:
Gui, Add, Edit, x6 y20 w160 h20 vFile, %pic%
Gui, Add, Edit, x6 y70 w250 h20 vTime,
Gui, Add, Button, x166 y20 w100 h20 , Browse
Gui, Add, Button, x86 y90 w100 h30 , Go
Gui, Font, S12 CDefault, Verdana
Gui, Add, Text, x66 y50 w140 h20 , Time in minutes:
Gui, Add, Text, x81 y0 w100 h20 , File:
Gui, Show, w274 h123, Timer
return

ButtonBrowse:
FileSelectFile, Pic
gui, destroy
goto a
Return

buttongo:
gui, submit
gui, destroy
Time *= 60000
sleep, %Time%
run, %File%

GuiClose:
ExitApp
Return

_________________
Pylons Are Trapped Balls.
http://www.autohotkey.net/~Eedis/
Back to top
View user's profile Send private message
Z_Gecko
Guest





PostPosted: Sat Aug 15, 2009 3:26 am    Post subject: Reply with quote

http://www.autohotkey.com/forum/topic23719.html
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