|
|
|
Get Keyboard Delay and Speed
Added on 8/11/2002
|
Click My Computer > Control Panel > Keyboard.
The first value is keyboard delay, the second is keyboard speed. This behavior allows to get these values.
Download PC Source
-- Get Keyboard Delay and Speed Behavior
-- Registry Xtra required
-- by Meliora Software www.meliorasoft.com/xtras/
-- Compatibilities: Director 6.x, 7.x, 8.x, Windows
on getBehaviorDescription
return " " & ¬
"- - Get Keyboard Delay and Speed Settings Behavior - -" & RETURN & ¬
"Reads Keyboard Delay and Speed Settings."
end
on mouseDown
set Key = "HKEY_CURRENT_USERControl PanelKeyboard"
set Value1 = "KeyboardDelay"
set Value2 = "KeyboardSpeed"
set KeyDelay = getAt( ReadRegValue(Key, Value1), 3 )
set KeySpeed = getAt( ReadRegValue(Key, Value2), 3 )
put "Keyboard Delay = " & KeyDelay
put "Keyboard Speed = " & KeySpeed
end
|
|