; use password + NumpadEnter #singleinstance force Splashimage,,b w1050 h777 x0 Y0 CWblack CTlime m9 b fs18 zh0,`n`n`nLOCK loop { MouseMove, 3300 , 3330 sleep, 66 process, close, taskmgr.exe sleep, 66 } return Mbutton:: Lbutton:: Rbutton:: Enter:: Escape:: Space:: Tab:: Backspace:: Delete:: Insert:: Up:: Down:: Left:: Right:: Home:: End:: Pgup:: Pgdn:: Lwin:: Rwin:: Appskey:: Scrolllock:: Control:: Alt:: Shift:: Return ::Password:: Exitapp Return
primitive lock
Started by
primitive
, Sep 27 2005 02:49 PM
5 replies to this topic
#1
-
Posted 27 September 2005 - 02:49 PM
More primitive lock....
Password = password
Password = password
#singleinstance force Process, Priority, , High Splashimage,,b w1050 h777 x0 Y0 CWblack CTlime m9 b fs18 zh0,`n`n`nLOCK Winminimizeall Loop { MouseMove, 1666 , 366 sleep, 166 process, close, taskmgr.exe sleep, 166 } return !F4:: !Tab:: ^Tab:: +Tab:: ^+Tab:: +!Tab:: ^+!Tab:: ^Esc:: ^+!Esc:: +!Esc:: !Esc:: +Esc:: Alt:: Appskey:: Backspace:: CapsLock:: Control:: Delete:: Down:: End:: Enter:: Escape:: Home:: Insert:: Lbutton:: Left:: Lwin:: Mbutton:: Numpad0:: Numpad1:: Numpad2:: Numpad3:: Numpad4:: Numpad5:: Numpad6:: Numpad7:: Numpad8:: Numpad9:: NumpadDel:: NumpadDot:: NumpadEnd:: NumpadEnter:: NumpadHome:: NumpadIns:: NumpadLeft:: NumpadPgDn:: NumpadPgUp:: NumpadRight:: Pgdn:: Pgup:: Rbutton:: Right:: Scrolllock:: Shift:: Space:: Tab:: Up:: Rwin:: #r:: Return :*:Password:: WinMinimizeAllUndo Exitapp Return
#2
-
Posted 14 October 2005 - 01:23 AM
65.6E.72.69.63.61. (My hovercraft is full of eels)
i want to automatically unlock 2 minutes later,how can i do?
thanks
thanks
#3
-
Posted 15 October 2005 - 03:18 AM
This work but is very primitive:
#singleinstance force Process, Priority, , High Splashimage,,b w1050 h777 x0 Y0 CWblack CTlime m9 b fs18 zh0,`n`n`nLOCK SetTimer, Autoexit, 120000 ;time to unlock Winminimizeall Loop { MouseMove, 1666 , 366 sleep, 166 process, close, taskmgr.exe sleep, 166 } return !F4:: !Tab:: ^Tab:: +Tab:: ^+Tab:: +!Tab:: ^+!Tab:: ^Esc:: ^+!Esc:: +!Esc:: !Esc:: +Esc:: Alt:: Appskey:: Backspace:: CapsLock:: Control:: Delete:: Down:: End:: Enter:: Escape:: Home:: Insert:: Lbutton:: Left:: Lwin:: Mbutton:: Numpad0:: Numpad1:: Numpad2:: Numpad3:: Numpad4:: Numpad5:: Numpad6:: Numpad7:: Numpad8:: Numpad9:: NumpadDel:: NumpadDot:: NumpadEnd:: NumpadEnter:: NumpadHome:: NumpadIns:: NumpadLeft:: NumpadPgDn:: NumpadPgUp:: NumpadRight:: Pgdn:: Pgup:: Rbutton:: Right:: Scrolllock:: Shift:: Space:: Tab:: Up:: Rwin:: #r:: Return Autoexit: WinMinimizeAllUndo exitapp return :*:Password:: WinMinimizeAllUndo Exitapp Return
#4
-
Posted 15 October 2005 - 10:40 AM
65.6E.72.69.63.61. (My hovercraft is full of eels)
thank enrica!
i want to add another function, that is a tooltip "lock the computer 2 minutes later!" appearing,then lock. How can i do ?
i want to add another function, that is a tooltip "lock the computer 2 minutes later!" appearing,then lock. How can i do ?
#5
-
Posted 17 October 2005 - 12:04 AM
Hi Vital, sorry but I'm not a expert, I only make a very basically (primitive) script.
But I'm happy if can help you.
I don't understand if you want to combine both function (lock after 2 minute and then autoexit after 2 more minute)
You can add before the splashimage "lock":
Or you call your lock script from another script
or maybe lock the pc after a 2 minute of inactivity
I suggest to ask in the help section; smart, expert and gentle people can help you better!.
ciao!
But I'm happy if can help you.
I don't understand if you want to combine both function (lock after 2 minute and then autoexit after 2 more minute)
You can add before the splashimage "lock":
Splashimage,,b w444 h33 x333 Y322 CWff0066 m9 b fs16 zh0, lock the computer 2 minutes later!..... Sleep, 120000 ; 2 minute to lock
Or you call your lock script from another script
#singleinstance force Splashimage,,b w444 h33 x333 Y322 CWff0066 m9 b fs16 zh0, lock the computer 2 minutes later!..... Sleep, 120000 ; 2 minute to lock Run, Lock.ahk ;(or Run, Lock.exe) exitapp
or maybe lock the pc after a 2 minute of inactivity
#Persistent #InstallKeybdHook #InstallMouseHook SetTimer,lock,1000 Return lock: If A_TimeIdlePhysical >= 120000 ; 2 minute of keyword inactivity Run, Lock.ahk ;(or Run, Lock.exe) ;(or your lock code) return
I suggest to ask in the help section; smart, expert and gentle people can help you better!.
ciao!
#6
-
Posted 17 October 2005 - 08:53 AM
65.6E.72.69.63.61. (My hovercraft is full of eels)