Search content:

 

Personal Menu
Username:
Password:
Save password

Become a member

Forgot Password?

 

Don't miss these
Replace embedded fonts in text/field and button members
Convert between bases-String to Integer
Object Serializer
Text Services API
Returns Rect of visible PDF doc within an Impressario sprite
Palindrome Check
Random numbers from file names -w/o BuddyAPI
DirectTransition3D Xtra, Set III
Find Last Label
Changing records - Valentina
MediaMacros Xtras Mall
 

 

 

Behavior shortcut and keycodes

Added on 4/26/2003

 

Compatibilities:
D6_5 D7 D8 D8_5 D9 PC Script UK

This item has not yet been rated

Author: zeichensprecher (website)

just a small timesaving movie-script. make your own shortcurts with function keys, arrows, spacebar, STRG / SHIFT combinations etc... movieScript that uses "the keyDownScript"-command

-- SHORTCUT (MOVIE-)SCRIPT
--
-- just a small and (hopefully) timesaving script
-- you can configure all types of shortcuts
-- 2003, michael.lingo@zeichensprecher.de


on startMovie
  the keyDownScript = "myKeyScript"
end startMovie
  


on myKeyScript
  case the keyCode of
    123: -- arrow left
    124: -- arrow right
    125: -- arrow down
    126: -- arrow up
    122: -- F1
    120: -- F2
    99:  -- F3
    118: -- F4
    96:  -- F5
    97:  -- F6
    98:  -- F7
    100: -- F8
    101: -- F9
    109: -- F10
    103: -- F11
    111: -- F12
  end case

  -- ****SHIFT****
  if the controlDown = FALSE then
    if the shiftDown = TRUE then
      case the key of
        "A": -- A
        "B": -- B
        "C": -- C
      end case
    end if
    -- ****  *  ****  (no other keys)
    if the shiftDown = FALSE then
      case the key of
        "a": -- a
        "b": -- b
        "c": -- c
        SPACE: -- SPACE-bar
        ENTER: -- ENTER & RETURN
      end case
    end if
  end if
  -- ****STRG+SHIFT****
  if the controlDown = TRUE then
    if the shiftDown = TRUE then
      case the key of  
        "A": -- STRG+SHIFT+A
        "B": -- STRG+SHIFT+B
        "C": -- STRG+SHIFT+C
      end case
    end if
    -- ****STRG****
    if the shiftDown = FALSE then
      case the key of
        "a": -- STRG+A
        "b": -- STRG+B
        "c": -- STRG+C
      end case
    end if
  end if
end myKeyScript


-- DEBUG
-- to find out more keyCodes, set this code as KeyDownScript, build a projector
-- and type the keys. then you can note it from the alert box!
on myDebugKeyScript
  myKeyCode = string(the keyCode)
  alert ""&myKeyCode
end

 


Upload Provided by ABCUpload ASP

Contact

MMI
22 West Court Sq
Suite 2C
Newnan, GA 30263
USA

Fax - (206) 339-5833

Send e-mail