Eedis
Joined: 12 Jun 2009 Posts: 389
|
Posted: Fri Aug 14, 2009 11:36 pm Post subject: How do I encrypt a file so I can't open it? |
|
|
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/
 |
|