|
#1
|
||||
|
||||
|
Howto Responding to Key Presses
Question:
Can AutoPlay Media Studio react to a key pressed on the users keyboard? Answer: You can make your application react to keystrokes using the following instructions: 1) Go to Page -> Properties -> Script -> "On Key" of the page that you would like to put this functionality. 2) Find out what the ASCII code of the key that you wish to capture is. There is a full list available from Here . 3) For our example we will capture the space bar. So from looking at the table in step 2 I can see that the Decimal value is 32. 4) Now add the following code: if e_Key == 32 then -- Your code that reacts to this keystroke goes here end |
|
#2
|
||||
|
||||
|
"There is a full list available from Here"
Where?
__________________
Unconventional photos and video to conventional media outlets. www.newsmediasource.com |
|
#3
|
||||
|
||||
|
Help File.
Search for ASCII. Yossi |
![]() |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Counting key presses on time...?? | Jonas DK | AutoPlay Media Studio 6.0 | 0 | 05-22-2007 02:58 PM |
| Unable to find software? | NigelLacey | Visual Patch 2.0 | 4 | 10-11-2005 11:35 AM |
| EXAMPLE: Capturing Key Presses | Desmond | AutoPlay Media Studio 7.5 Examples | 0 | 10-05-2005 11:27 AM |
| Help on separate key presses for game | sue | AutoPlay Media Studio 5.0 | 16 | 07-30-2005 05:51 PM |
| Responding to Key Presses | Desmond | AutoPlay Media Studio 5.0 Examples | 0 | 09-26-2003 10:49 AM |
All times are GMT -6. The time now is 06:07 PM.








Linear Mode

