How do i activate sticky keys upon startup automatically?

G

Guest

Hi all,

I have a user who VPN's into her desktop pc within our network. Everytime
she logs in to her box here at work via VPN, she must activate sticky keys.
She is requesting to have Sticky keys activate automatically when she logs in
to this work pc from home. Anyone know how this may be done?

I didnt see any options in Accessibility's dialog box.
Google was little help.

Is there a script i can run at startup or a registry adjustment of something
to have sticky keys activate automatically at log in? We use Active
directory domain based authentication for loging in to our network.

Any help would be appreciated, thanks.
 
A

Ayush

Replied to [Martin E]s message :
Hi all,

I have a user who VPN's into her desktop pc within our network. Everytime
she logs in to her box here at work via VPN, she must activate sticky keys.
She is requesting to have Sticky keys activate automatically when she logs in
to this work pc from home. Anyone know how this may be done?

I didnt see any options in Accessibility's dialog box.

In Sticky key settings, is "Turn sticky keys off if two keys are pressed" checked ?

Is there a script i can run at startup or a registry adjustment of something
to have sticky keys activate automatically at log in?


You can use this JS :

ws = new ActiveXObject("WScript.Shell")
ws.Run("control access.cpl")
while(!ws.AppActivate("Accessibility Options")){
WScript.Sleep(10)
}
ws.SendKeys("%u~")


it will toggle sticky keys state so if sticky keys is on and you run this script then
it will turn sticky keys off..
 
G

Guest

Ayush=Genius

Thanks, i will test this out now. Preciate the response.

Ayush" <"ayushmaan.j[aatt]gmail.com said:
Replied to [Martin E]s message :
Hi all,

I have a user who VPN's into her desktop pc within our network. Everytime
she logs in to her box here at work via VPN, she must activate sticky keys.
She is requesting to have Sticky keys activate automatically when she logs in
to this work pc from home. Anyone know how this may be done?

I didnt see any options in Accessibility's dialog box.

In Sticky key settings, is "Turn sticky keys off if two keys are pressed" checked ?

Is there a script i can run at startup or a registry adjustment of something
to have sticky keys activate automatically at log in?


You can use this JS :

ws = new ActiveXObject("WScript.Shell")
ws.Run("control access.cpl")
while(!ws.AppActivate("Accessibility Options")){
WScript.Sleep(10)
}
ws.SendKeys("%u~")


it will toggle sticky keys state so if sticky keys is on and you run this script then
it will turn sticky keys off..
 
G

Guest

I just tested that script and it worked great! Ayush, thanks again, you
really helped us out alot. Keep up the good work!

Ayush" <"ayushmaan.j[aatt]gmail.com said:
Replied to [Martin E]s message :
Hi all,

I have a user who VPN's into her desktop pc within our network. Everytime
she logs in to her box here at work via VPN, she must activate sticky keys.
She is requesting to have Sticky keys activate automatically when she logs in
to this work pc from home. Anyone know how this may be done?

I didnt see any options in Accessibility's dialog box.

In Sticky key settings, is "Turn sticky keys off if two keys are pressed" checked ?

Is there a script i can run at startup or a registry adjustment of something
to have sticky keys activate automatically at log in?


You can use this JS :

ws = new ActiveXObject("WScript.Shell")
ws.Run("control access.cpl")
while(!ws.AppActivate("Accessibility Options")){
WScript.Sleep(10)
}
ws.SendKeys("%u~")


it will toggle sticky keys state so if sticky keys is on and you run this script then
it will turn sticky keys off..
 
A

Ayush

Replied to [Martin E]s message :
I just tested that script and it worked great! Ayush, thanks again, you
really helped us out alot. Keep up the good work!


You are welcome Martin !
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top