New Reference Control, All images in folder

Frank Leahy frank at backtalk.com
Fri Feb 27 04:41:12 EST 2004


On Friday, February 27, 2004, at 05:46  AM, 
use-revolution-request at lists.runrev.com wrote:

> However there's a lot easier way to delete all the images on a card.
> Forget selecting them, you can use the message box:
>
>   repeat with x = 1 to the number of images;delete image 1;end repeat
>
> (remember that it will delete *all* the images on a card!)
>
> Ken Ray
>

And if you lock screen and lock messages it will about 100 times faster 
(but only needed if you're doing this at runtime rather than during 
development)

lock screen
lock messages
repeat with x = 1 to the number of images;delete image 1;end repeat
unlock messages
unlock screen

-- Frank



More information about the use-livecode mailing list