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 

Toddler Keyboard
Goto page Previous  1, 2
 
Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions
View previous topic :: View next topic  
Author Message
groovs



Joined: 16 Nov 2009
Posts: 18
Location: Netherlands

PostPosted: Mon Nov 16, 2009 4:17 pm    Post subject: combining script Toddler and monitor off Reply with quote

I use a script I found in the forum to switch off my monitor with ^1 and switch it back on only with the same keys:
-------------------------------------------------

^1::
KeyWait, CTRL
KeyWait, ALT
Keywait, F4
KeyWait, SHIFT
KeyWait, Escape
Gui,Color,0x000000
Gui,-Caption
Gui,Show,w%A_ScreenWidth% h%A_ScreenHeight%
Loop
{
If (GetKeyState("CTRL","P") and GetKeyState("1","P"))
Break
else if (A_TimeIdlePhysical<1000)
SendMessage, 0x112, 0xF170, 2,, Program Manager
}
Gui,Destroy
Return
---------------------------------------------------------------
It works but blocks all the keys except ^1.
I still want to be able to use some predefined keys though for some functions of my movieplayer. While the movie is playing the screen should stay off but the predefined keys should still work. Only untill I press ^1, the screen should wake up.
Is it possible to combine this in the toddler script?
Back to top
View user's profile Send private message
First Toy Lab



Joined: 15 Nov 2009
Posts: 21
Location: London, UK

PostPosted: Mon Nov 16, 2009 5:36 pm    Post subject: Reply with quote

Great idea! Very smart script!

I work in a preparatory school and the reception classroom have special keyboars to the kids. They find very confusing the normal keyboard.

Well done! Very Happy
Back to top
View user's profile Send private message MSN Messenger
gamax92
Guest





PostPosted: Sun Nov 28, 2010 9:25 pm    Post subject: Reply with quote

I would use the bad keys to make an alarm.

So windows key ::
Alert, Alert. You pressed a windows key. ending game.
DONT DO IT AGAIN.

Laughing

Nah, just messing around. Probably, scare the s--- out of them.
Back to top
Display posts from previous:   
Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
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