Sign in to follow this  
Followers 0
john925

Send RightCtrl ScrollLock key combination?

10 posts in this topic

I'm trying to use send() to send a combination of the right Ctrl key and the scroll lock key twice in succession. My last attempt was:

Send("{RCTRL down}{SCROLLLOCK}{SCROLLLOCK}{RCTRL up}")

but I've tried as many combinations as I can think of. Anyone have a suggestion?

Thanks,

john925

Share this post


Link to post
Share on other sites



{SCROLLLOCK toggle}

(shrug)

I have no way of confirming if this is working. in the way you intend. However it seems to require Toggle/on/off command...

moo

Share this post


Link to post
Share on other sites

@cowsmanaut

Thanks for the suggestion. I've tried {SCROLLLOCK toggle} in place of {SCROLLLOCK} with no better result.

john925.

Share this post


Link to post
Share on other sites

Actually, {SCROLLLOCK} should work the same as {SCROLLLOCK toggle}. The docs are not quite right :D

Is this Ctrl+ScrollLock combination for a KVM switch or other hardware device? It could be that AutoIt does not simulate the keypresses at a low enough level to be detected by the application/hardware you are using :huh2:


Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig!

Share this post


Link to post
Share on other sites

I wonder if scroll lock, Num lock, and Caps lock are not just values. I've noted that windows can seemingly set these values by default upon reboot.

So as such perhaps it's not registering a keystroke as much as it is altering a value. Could this be the issue?

Share this post


Link to post
Share on other sites

I should say what I'm trying to accomplish. I want to create a Blue Screen of Death on demand. You can create a registry key in Win2K and WinXP that allows you to blue screen by typing RightCtrl-ScrollLock twice. Wanting to do this must seem a bit odd, but it's to create a time limit on how long a bootable CD (Bart PE) can be used without it being obvious you can bypass the time limit by resetting the system clock. If you know another way to create a blue screen at will please let me know.

john925

Share this post


Link to post
Share on other sites

What registry setting are you using to create a BSOD on demand?

Share this post


Link to post
Share on other sites

I should say what I'm trying to accomplish.  I want to create a Blue Screen of Death on demand.  You can create a registry key in Win2K and WinXP that allows you to blue screen by typing RightCtrl-ScrollLock twice.  Wanting to do this must seem a bit odd, but it's to create a time limit on how long a bootable CD (Bart PE) can be used without it being obvious you can bypass the time limit by resetting the system clock.  If you know another way to create a blue screen at will please let me know.

john925

that might mean that it's like ctrl-alt-del and is captured by windows.

"I'm not even supposed to be here today!" -Dante (Hicks)

Share this post


Link to post
Share on other sites

As far as I know this keystroke is captured by the keyboard driver which then causes the BSOD. I don't think AutoIt will be able to go that deep into the system.

Try the Shutdown command instead.

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