Contents
Articles
Behaviors
Books
Director News
Director Web Sites
FAQ
Games
Mailing Lists
News Groups
Project Examples
Reviews
Software
Tools
Useful Web Sites
Utilities
Xtras

Don't miss these
INM's Impressario
Generic behavior to change System Desktop Icons
ProjectorLook Xtra
Importing Photoshop layers
KK
Convert Data
Label Search code
Cuberoids
Triming spaces from string
Integer to Hex
 

 

 

Behavior Get Keyboard Delay and Speed

Added on 8/11/2002

 

Compatibilities:
behavior D6_5 D7 D8 D8_5 D9 PC US

Required Xtras:
Registry Xtra

This item has not yet been rated

Author: Shockdev

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

 


Contact

MMI
36 South Court Sq
Suite 300
Newnan, GA 30263
USA

Send e-mail