[ANN] [EN] [FR] Tutorial #27 by So Smart Software: How to select objects using a selection rectangle built on-the-fly

J. Landman Gay jacque at hyperactivesw.com
Tue Aug 12 17:26:12 EDT 2008


Richard Gaskin wrote:

> In OS X, open Activity Monitor and set it to view processor usage, then 
> run this in a button with the mouse held down:
> 
> on mouseDown
>   repeat until the mouse is "up"
>     get 1+1
>   end repeat
> end mouseDown
> 
> Here, processor usage spikes to about 80% or more for one of the two 
> processors on board.

Interesting. I hadn't ever benchmarked it so I just tried it. When I run 
this handler on my Mac (OS X Tiger), holding the mouse down for a few 
seconds spikes my CPU usage to 99.9%, where it stays till I let go.

-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com



More information about the use-livecode mailing list