ra-mon Posted August 16, 2005 Posted August 16, 2005 Hi, i don't succeed to automatize ALT+SHIFT+PRINTSCREEN keystroke (aim: make visible "High contrast" accessibility applet) I've tried with Send ("+!{PRINTSCREEN}") Send ("+{LALT}{PRINTSCREEN}") Send ("{LSHIFT}{LALT}{PRINTSCREEN}") but nothing happended , any idea ? thank you for help ;-) @+ Pierre
BigDod Posted August 16, 2005 Posted August 16, 2005 (edited) You can't use Send to do this as this just sends to the active screen which in my case was SCiTE as I was experimenting. EDIT:- I have been doing some playing around and comeup with this Local $RUNDLL32 = @SystemDir & "\rundll32.exe" Run($RUNDLL32 & " shell32.dll,Control_RunDLL access.cpl,@0,3") If WinWaitActive("Accessibility Options", "", 2) Then Send("{SPACE}") Send("!A") Send("{ENTER}") EndIf I am sure that someone can tidy this up as I just threw it together for previous posts and help files. Edited August 16, 2005 by BigDod Time you enjoyed wasting is not wasted time ......T.S. Elliot Suspense is worse than disappointment................Robert Burns God help the man who won't help himself, because no-one else will...........My Grandmother
ra-mon Posted August 19, 2005 Author Posted August 19, 2005 Thank You to bypass th miss, i was doing: Run ("rundll32.exe shell32.dll,Control_RunDLL access.cpl") WinWaitActive ("Options d'accessibilité") Send("+{TAB}") Send("{RIGHT 2}") Send("{TAB}") Send("{SPACE}") Send("{ENTER}") Exit @+ Pierre
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