A better tape measurement script, please

J. Landman Gay jacque at hyperactivesw.com
Mon Jun 14 13:21:05 CDT 2010


Michael Kristensen wrote:
> Hi there
> 
> Thanks for testing the script
> 
> What happens:
> 
> If the mouse goes down in an empty space of the window, then when the 
> cursor is moved over the graphics the "Tape" freezes at some point and 
> does not follow the cursor.
> 
> It might be a hardware problem simce my mac is a somewhat old powerbook 
> G4 1.6 mhz.

I probably sound like a broken record by now, but you'll get better 
results with this method: 
<http://www.hyperactivesw.com/resources_polling.html>

This method yields time to the CPU, which can prevent a lot of lockups 
like you describe.

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



More information about the use-livecode mailing list