afcartman Posted April 18, 2007 Posted April 18, 2007 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?
Uten Posted April 18, 2007 Posted April 18, 2007 What receives your send commands? Please keep your sig. small! Use the help file. Search the forum. Then ask unresolved questions :) Script plugin demo, Simple Trace udf, TrayMenuEx udf, IOChatter demo, freebasic multithreaded dll sample, PostMessage, Aspell, Code profiling
PsaltyDS Posted April 18, 2007 Posted April 18, 2007 (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? Edit: Doh! 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 April 18, 2007 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
PsaltyDS Posted April 18, 2007 Posted April 18, 2007 What do you have for a registry value at HKEY_CURRENT_USER\Control Panel\Accessibility\HighContrast\Flags? 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
Uten Posted April 18, 2007 Posted April 18, 2007 Does nothing on my w2k either.. Please keep your sig. small! Use the help file. Search the forum. Then ask unresolved questions :) Script plugin demo, Simple Trace udf, TrayMenuEx udf, IOChatter demo, freebasic multithreaded dll sample, PostMessage, Aspell, Code profiling
afcartman Posted April 19, 2007 Author Posted April 19, 2007 What do you have for a registry value at HKEY_CURRENT_USER\Control Panel\Accessibility\HighContrast\Flags? i have 126 as my value.also it only works with left alt+left shift+printscreen
therks Posted April 19, 2007 Posted April 19, 2007 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. My AutoIt Stuff | My Github
gamerman2360 Posted April 19, 2007 Posted April 19, 2007 (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 Edited April 19, 2007 by gamerman2360
afcartman Posted April 19, 2007 Author Posted April 19, 2007 What do you have for a registry value at HKEY_CURRENT_USER\Control Panel\Accessibility\HighContrast\Flags? i have 126 as my value.also it only works with left alt+left shift+printscreenoooooh thk u very much
Klexen Posted July 23, 2008 Posted July 23, 2008 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
Werty Posted August 27, 2022 Posted August 27, 2022 You have to yell louder, he is 14 years away. kurtykurtyboy 1 Some guy's script + some other guy's script = my script!
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now