repeat until the mouseClick

Mark Smith mark at maseurope.net
Sun Apr 22 19:42:39 EDT 2007


  repeat until the mouseClick
     if the keysDown is not empty then exit repeat
  end repeat

Best,

Mark

On 23 Apr 2007, at 00:12, 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