Jump to content

3 keystrokes unavailable


Recommended Posts

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 :whistle: , any idea :dance: ?

thank you for help ;-)

@+

Pierre

Link to post
Share on other sites

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.

:whistle::dance::dance:

Edited 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

Link to post
Share on other sites

Thank You :whistle:

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

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
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...