Correction of previous script: on deleteImage put the number of images of this card into tImages repeat with x = sImages down to 1 if last char of the short name of image x is an integer then — you will then keep the image you use as basis for the clones delete image x end if end repeat end deleteImage
> 18. jan. 2018 kl. 17:32 skrev Tore Nilsen via use-livecode > <use-livecode@lists.runrev.com>: > > on deleteImage > put the number of images of this card into tImages > repeat with x = sImages down to 1 > if last char of the short name of image x is an integer then — you will then > keep the image you use as basis for the clones > delete image x > end if > end repeat > repeat with x _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode