December 2008
Intermediate to advanced
320 pages
6h 45m
English
There are times you may want to enter some input or perform an action without having to use the Enter key. A while back, I encountered this problem when I needed to view the numerical output of ballistic equations. I wanted to be able to increment or decrement an input value and recalculate the results by pressing just one key. I came up with a script that would do this, and display both the changed input value and the new results calculated from it. The example script here, while interesting, is just a simple demonstration of how to process instant response.
My script accomplished its task quite well. The following script is a simplified version that calculates and displays the values for a projectile's trajectory. ...