> Hi, Ken.
>
> This won't take long.
>
> 1. Start a new director movie.
> 2. Create a movie script and type
> the following.
>
> on startMovie
> set the exitLock = TRUE
> end
>
> on keyDown
> put "The keyCode for" && the key ¬
> && "is" && the keyCode
> end
>
> 3. Create a frame script.
>
> on exitFrame
> go the frame
> end
>
> 4. Open the Message Window.
> 5. Play the movie then click the stage.
> 6. Press any key and watch
> the message window.
>
> You may not actually see the key *ESC* or
> *TAB* but I guess you have the idea already.
>
> Have a nice day.
>
> cheers,
> John Erazo
>
>
>>> How can I detect when the "ESCAPE" Key is pressed? what is the key code
>>> number?
>>>
>>> Thanks in advance.
>>>
>>> Ken
>
>
>
or get the little tool I made, cos I got tired of typing in the Watcher
window!!!!
- go to http://www.ultimatum.dk/ask/director/
- click on "Keyboard Tester"
- click downLoad
- unzip
- copy the downloaded file into the director xtras folder
- restart director
- select xtras/keyTestsmall
- hit escape key (or any other key you need to know the number of
- click on the window-close-button
- continue programming
;-) Ask
.....ULTIMATUM........
Ask Møller - Lingo++
[EMAIL PROTECTED]
Tlf. 33 25 21 12
Mobil 26 72 21 15
......................
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi To post messages to the list,
email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo. Thanks!]