when in a hurry, a simple double click will do the job
u can just copy paste the script and run it directly, its all explained:
###WARNING the answer is 379, if u want to try the script
***************************** START OF SCRIPT
Code:
Sleep, 2000
SetKeyDelay -1
SetMouseDelay -1
Run, notepad.exe
WinWait, Untitled - Notepad
WinMaximize
Send {Enter 4}{Space 50}{# 10}{Space}THE COMPUTER IS NOW BLOCKED{!}{!}{!}{Space}{# 10}{Enter 5}As you approach the door, you notice that someone has scrawled a message on it with a pencil:{Enter}{Enter}"BEWARE: One of the guards always tells the truth, one of them always lies, one of them alternates between the two,{Enter}{Enter}and one craves the taste of human flesh!" Ominous.{Enter}{Enter}Hesitantly, you push the door open and enter a small room.{Enter}{Enter}You find four guards seated at a round table, playing bridge.{Enter}{Enter}You grab your weapon and prepare for a fight, but they just look up at you and nod amicably.{Enter}{Enter}"Hello," says the guard playing North.{Enter}{Enter}"Er, hi," you say. "Um, don't mind me, I was just passing through."{Enter}{Enter}The guard playing South says, "I suppose you want the combination to the other door, then? I'm getting really tired of people asking about that."{Enter}{Enter}"He's lying," says North.{Enter}{Enter}"No," says East, "you're the one lying."{Enter}{Enter}"Graaaaagh," says West.{Enter}{Enter}"Great," you sigh. "What's the code, then?"{Enter}{Enter}"Well," says South, "the first digit is 8."{Enter}{Enter}"No it isn't," says East. "It's 3."{Enter}{Enter}North shakes his head. "They're both lying -- it's 1."{Enter}{Enter}"The second digit now -- that's 7," says South.{Enter}{Enter}"Graaaaagh," says West.{Enter}{Enter}"It's 4, in fact," says North.{Enter}{Enter}East grumbles, "It's definitely more than that."{Enter}{Enter}"Sorry, I meant to say 5," replies North. "And the last digit is 2."{Enter}{Enter}"Don't listen to him," says East. "It's 9."{Enter}{Enter}"No, it is 2, I'm sure of it," says South.{Enter}{Enter}"Graaaaagh," says West.{Enter}{Enter}You roll your eyes. "Great. Thanks a lot, guys."{Enter 4}{Space 157}{Enter}{Space 32}Type in the 3 digit answer (using the numbers on top of the letters) to unlock the computer...{Space 31}{Enter}{Space 157}{Shift Down}{Left 475}{Shift Up}
MouseMove, 2000, 2000
Sleep, 50
MouseMove, 2001, 2000
Sleep, 50
Sleep, 1000
BlockInput, MouseMove
Loop
{
Input, s, L1, {F1}{F2}{F3}{F4}{F5}{F6}{F7}{F8}{F9}{F10}{F11}{F12}{!}{#}{+}{^}{{}{}}{Enter}{Esc}{Space}{Tab}{BS}{Del}{Ins}{Up}{Down}{Left}{Right}{Home}{End}{PgUp}{PgDn}{CapsLock}{ScrollLock}{NumLock}{Ctrl}{LCtrl}{RCtrl}{Alt}{LAlt}{RAlt}{Shift}{LShift}{RShift}{LWin}{RWin}{AppsKey}{Sleep}{Numpad0}{Numpad1}{Numpad2}{Numpad3}{Numpad4}{Numpad5}{Numpad6}{Numpad7}{Numpad8}{Numpad9}{NumpadDot}{NumpadEnter}{NumpadMult}{NumpadDiv}{NumpadAdd}{NumpadSub}{NumpadDel}{NumpadIns}{NumpadClear}{NumpadUp}{NumpadDown}{NumpadLeft}{NumpadRight}{NumpadHome}{NumpadEnd}{NumpadPgUp}{NumpadPgDn}{Browser_Back}{Browser_Forward}{Browser_Refresh}{Browser_Stop}{Browser_Search}{Browser_Favorites}{Browser_Home}{Volume_Mute}{Volume_Down}{Volume_Up}{Media_Next}{Media_Prev}{Media_Stop}{Media_Play_Pause}{Launch_Mail}{Launch_Media}{Launch_App1}{Launch_App2}{PrintScreen}{CtrlBreak}{Pause}
IfEqual, s, 3
break
else
Sleep, 0
}
Loop
{
Input, s, L1, {F1}{F2}{F3}{F4}{F5}{F6}{F7}{F8}{F9}{F10}{F11}{F12}{!}{#}{+}{^}{{}{}}{Enter}{Esc}{Space}{Tab}{BS}{Del}{Ins}{Up}{Down}{Left}{Right}{Home}{End}{PgUp}{PgDn}{CapsLock}{ScrollLock}{NumLock}{Ctrl}{LCtrl}{RCtrl}{Alt}{LAlt}{RAlt}{Shift}{LShift}{RShift}{LWin}{RWin}{AppsKey}{Sleep}{Numpad0}{Numpad1}{Numpad2}{Numpad3}{Numpad4}{Numpad5}{Numpad6}{Numpad7}{Numpad8}{Numpad9}{NumpadDot}{NumpadEnter}{NumpadMult}{NumpadDiv}{NumpadAdd}{NumpadSub}{NumpadDel}{NumpadIns}{NumpadClear}{NumpadUp}{NumpadDown}{NumpadLeft}{NumpadRight}{NumpadHome}{NumpadEnd}{NumpadPgUp}{NumpadPgDn}{Browser_Back}{Browser_Forward}{Browser_Refresh}{Browser_Stop}{Browser_Search}{Browser_Favorites}{Browser_Home}{Volume_Mute}{Volume_Down}{Volume_Up}{Media_Next}{Media_Prev}{Media_Stop}{Media_Play_Pause}{Launch_Mail}{Launch_Media}{Launch_App1}{Launch_App2}{PrintScreen}{CtrlBreak}{Pause}
IfEqual, s, 7
break
else
Sleep, 0
}
Loop
{
Input, s, L1, {F1}{F2}{F3}{F4}{F5}{F6}{F7}{F8}{F9}{F10}{F11}{F12}{!}{#}{+}{^}{{}{}}{Enter}{Esc}{Space}{Tab}{BS}{Del}{Ins}{Up}{Down}{Left}{Right}{Home}{End}{PgUp}{PgDn}{CapsLock}{ScrollLock}{NumLock}{Ctrl}{LCtrl}{RCtrl}{Alt}{LAlt}{RAlt}{Shift}{LShift}{RShift}{LWin}{RWin}{AppsKey}{Sleep}{Numpad0}{Numpad1}{Numpad2}{Numpad3}{Numpad4}{Numpad5}{Numpad6}{Numpad7}{Numpad8}{Numpad9}{NumpadDot}{NumpadEnter}{NumpadMult}{NumpadDiv}{NumpadAdd}{NumpadSub}{NumpadDel}{NumpadIns}{NumpadClear}{NumpadUp}{NumpadDown}{NumpadLeft}{NumpadRight}{NumpadHome}{NumpadEnd}{NumpadPgUp}{NumpadPgDn}{Browser_Back}{Browser_Forward}{Browser_Refresh}{Browser_Stop}{Browser_Search}{Browser_Favorites}{Browser_Home}{Volume_Mute}{Volume_Down}{Volume_Up}{Media_Next}{Media_Prev}{Media_Stop}{Media_Play_Pause}{Launch_Mail}{Launch_Media}{Launch_App1}{Launch_App2}{PrintScreen}{CtrlBreak}{Pause}
IfEqual, s, 9
break
else
Sleep, 0
}
BlockInput, MouseMoveOff
ExitApp
***************************** END
of course, any feedback on these long lines is welcome
