repeat until the mouseClick

John Craig jc at spl21.net
Mon Apr 23 05:22:23 EDT 2007


Another variation;

repeat until the mouseClick or the keysDown is not empty
end repeat


Mike Hughes wrote:
> I use the following 2 lines of code to pause a program until the user 
> clicks the mouse:
>
> repeat until the mouseClick
> end repeat
>
> I would like to extend the functionality of this script so that a user 
> can stop the pause with a keystroke in addition to clicking the mouse.
>
> How would I tweak that code to allow for this?
>
> Thanks!
>
> Mike
>
> _________________________________________________________________
> The average US Credit Score is 675. The cost to see yours: $0 by 
> Experian. 
> http://www.freecreditreport.com/pm/default.aspx?sc=660600&bcd=EMAILFOOTERAVERAGE 
>
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your 
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>





More information about the use-livecode mailing list