Sign in to follow this  
Followers 0
afcartman

high contrast mode

10 posts in this topic

I don't know if you guys have heard of high contrast mode, but I wanted to make a script for it. However, i can't seem to get it to work using send.

here's what I tried:

Send("{LALT DOWN}{LSHIFT DOWN}{PRINTSCREEN}{LALT UP}{LSHIFT UP}")

Send("!+{PRINTSCREEN}")

any ideas?

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

I don't know if you guys have heard of high contrast mode, but I wanted to make a script for it. However, i can't seem to get it to work using send.

here's what I tried:

Send("{LALT DOWN}{LSHIFT DOWN}{PRINTSCREEN}{LALT UP}{LSHIFT UP}")

Send("!+{PRINTSCREEN}")

any ideas?

I don't see from Microsoft's reference for XP: High Contrast that the Shift+Alt+PrtScr key sequence has anything to do with it. What did you expect it to do?

:P

Edit: Doh! :shocked:

Found a reference specific to Windows 2000 for High Contrast with that key sequence. I does nothing on my XP box, though. This XP reference (KB301583) says it should... but it don't!

Accessibility keyboard shortcuts

Right SHIFT for eight seconds (Switch FilterKeys either on or off)

Left ALT+left SHIFT+PRINT SCREEN (Switch High Contrast either on or off)

Left ALT+left SHIFT+NUM LOCK (Switch the MouseKeys either on or off)

SHIFT five times (Switch the StickyKeys either on or off)

NUM LOCK for five seconds (Switch the ToggleKeys either on or off)

Windows Logo +U (Open Utility Manager)

:( Edited by PsaltyDS

Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law

Share this post


Link to post
Share on other sites

What do you have for a registry value at HKEY_CURRENT_USER\Control Panel\Accessibility\HighContrast\Flags?

:shocked:


Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law

Share this post


Link to post
Share on other sites

What do you have for a registry value at HKEY_CURRENT_USER\Control Panel\Accessibility\HighContrast\Flags?

:shocked:

i have 126 as my value.

also it only works with left alt+left shift+printscreen

Share this post


Link to post
Share on other sites

Pressing the keys on my keyboard works fine, asks me if I want to enable High Contrast mode. But I can't simulate it with AutoIt.

Share this post


Link to post
Share on other sites

#8 ·  Posted (edited)

Well.. I just learned that Alt+Left Arrow means Back to IE... If you just want to have that box popup, you could run the program without windows Run("sethc 251")

Edit: If you do it this way the computer won't screech at you :shocked:

Edited by gamerman2360

Share this post


Link to post
Share on other sites

What do you have for a registry value at HKEY_CURRENT_USER\Control Panel\Accessibility\HighContrast\Flags?

:shocked:

i have 126 as my value.

also it only works with left alt+left shift+printscreen

oooooh thk u very much

Share this post


Link to post
Share on other sites

i have 126 as my value.

also it only works with left alt+left shift+printscreen

oooooh thk u very much

Ok, got it to turn on. How do you turn if off now? muttley

Run("sethc 251")
WinWaitActive("HighContrast")
ControlClick("HighContrast","",1,"left",1)
Exit

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0