Indigo Rose Software
  #1  
Old 11-22-2007
Adam's Avatar
Adam Adam is offline
Indigo Rose Staff Member
 
Join Date: May 2000
Location: Indigo Rose Software
Posts: 2,154
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
Reply With Quote
  #2  
Old 10-19-2008
Bruce's Avatar
Bruce Bruce is offline
Indigo Rose Customer
 
Join Date: Jun 2001
Location: California
Posts: 1,769
"There is a full list available from Here"
Where?
__________________
Unconventional photos and video to conventional media outlets.
www.newsmediasource.com
Reply With Quote
  #3  
Old 10-19-2008
yosik's Avatar
yosik yosik is offline
Indigo Rose Customer
 
Join Date: Jun 2002
Location: Israel
Posts: 1,863
Help File.
Search for ASCII.
Yossi
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


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.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Copyright © 2000 - 2009 Indigo Rose Corporation. All rights reserved.
Indigo Rose Software