john925 Posted June 22, 2004 Posted June 22, 2004 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
cowsmanaut Posted June 22, 2004 Posted June 22, 2004 {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
john925 Posted June 22, 2004 Author Posted June 22, 2004 @cowsmanaut Thanks for the suggestion. I've tried {SCROLLLOCK toggle} in place of {SCROLLLOCK} with no better result. john925.
CyberSlug Posted June 22, 2004 Posted June 22, 2004 Actually, {SCROLLLOCK} should work the same as {SCROLLLOCK toggle}. The docs are not quite right 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 Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig!
cowsmanaut Posted June 22, 2004 Posted June 22, 2004 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?
john925 Posted June 22, 2004 Author Posted June 22, 2004 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
msb5150 Posted June 22, 2004 Posted June 22, 2004 What registry setting are you using to create a BSOD on demand?
emmanuel Posted June 22, 2004 Posted June 22, 2004 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.john925that 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)
sugi Posted June 22, 2004 Posted June 22, 2004 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.
john925 Posted June 22, 2004 Author Posted June 22, 2004 @msb5150Look here for the registry settings:http://www.help2go.com/article149.htmlI guess I'll try a different approach. Thanks to all for your help.john925
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