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
Contact
MMI
36 South Court Sq
Suite 300
Newnan, GA 30263
USA