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 

Windows XP Shift-Alt-PrintScreen High Contrast

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



Joined: 28 Feb 2005
Posts: 2

PostPosted: Mon Feb 28, 2005 6:07 pm    Post subject: Windows XP Shift-Alt-PrintScreen High Contrast Reply with quote

I work in a school and would like to disable the use of certain Windows hot key combinations. I can't seem to find an easy way of doing this, and AutoHotKey looks like a promising option.

Unfortunately, I can't seem to get it to stop the Shift-Alt-PrintScreen combination that fires up one of Microsofts Accessibility options (Changes the screen to a High Contrast).

The code I used is shown below:

;
; AutoHotkey Version: 1.x
; Language: English
; Platform: Win9x/NT
; Author: A.N.Other <myemail@nowhere.com>
;
; Script Function:
; Template AutoHotkey script.
;
^A::MsgBox, This function has been disabled
+!PrintScreen::MsgBox, This function has been disabled


The first line (^A...) was a test to see if I could make something work, but the second is the one that should, I think, intercept the Shift-Alt-PrintScreen, but doesn't.

I think I might be able to disable the option via Group Policy or modifying the standard student roaming profile, its just this looks easier and quicker (plus they are bound to find some more!) Laughing

Any help would be gratefully appreciated

David


Last edited by Sgt_Wolfy on Mon Feb 28, 2005 8:07 pm; edited 1 time in total
Back to top
View user's profile Send private message
jonny



Joined: 13 Nov 2004
Posts: 3004
Location: Minnesota

PostPosted: Mon Feb 28, 2005 7:51 pm    Post subject: Reply with quote

Quote:
(plus they are bound to find some more!)


I'm not sure why your hotkey isn't working, but this other problem I may be able to help you with; you can take a look at my comprehensive hotkey list and disable the ones you think inappropriate (if you get it working). Note that I say "comprehensive" merely because it's the result of a few good hours of searching and experimenting, not because I actually believe it's comprehensive. It should cover most of what adventurous students can find, though.
Back to top
View user's profile Send private message
Chris
Site Admin


Joined: 02 Mar 2004
Posts: 10467

PostPosted: Tue Mar 01, 2005 2:17 am    Post subject: Re: Windows XP Shift-Alt-PrintScreen High Contrast Reply with quote

Sgt_Wolfy wrote:
I can't seem to get it to stop the Shift-Alt-PrintScreen combination that fires up one of Microsofts Accessibility options (Changes the screen to a High Contrast).
...
+!PrintScreen::MsgBox, This function has been disabled
I tried it on XP and it seems that this shortcut is similar to Ctrl-Alt-Del in that it can't be overridden.

However, if you're using XP (and perhaps other OSes), there is an item in the control panel to turn off this shortcut:
Ctrl panel > Accessibility > Display > Settings Button > Uncheck "Use Shortcut".
Back to top
View user's profile Send private message Send e-mail
Sgt_Wolfy



Joined: 28 Feb 2005
Posts: 2

PostPosted: Tue Mar 01, 2005 4:17 am    Post subject: Reply with quote

Thanks to Chris and Jonny.

Thanks for that list of keystrokes, Jonny, it will prove useful Razz

I've had a look at turning it off via the Control Panel, and I've included this in the mandatory profile the students load. This will stop it happening when they are logged in, but when its at the login prompt they can still do it Crying or Very sad

There must be a way of disabling it there, why does .Default spring to mind....

Anyway thanks for your help, it has managed to sort out one other problem we were having...

David
Back to top
View user's profile Send private message
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