How to Abort Stepping through a Script with a Single Keystroke

Ray ray at linkit.com
Mon Nov 18 16:04:39 EST 2013


Interesting.  Here's what I've tried, putting this both in the stack's 
script and in the revBackScript:

on rawKeyDown whichKey
    if whichKey = 65450 then
       beep 1
       set the tracestack to empty
       set the tracereturn to true
    else pass rawKeyDown
end rawKeyDown

I get my beep so I know it's detecting the key I've pressed but with the 
addition of the traceReturn line (interesting by the way) the script 
behaves as if I clicked on Debug and chose Run.

Ray

On 11/18/2013 3:04 PM, Mark Wieder wrote:
> set the tracestack to empty
> set the tracereturn to true





More information about the use-livecode mailing list