Converting referenced images to embedded control images

Jim Hurley jhurley at infostations.com
Mon Jun 9 10:29:01 EDT 2003


I have a folder with a stack and a large number of referenced images.

I would like to embed these images. Is there a way to do this 
programmatically? Something like

repeat with i = 1 to the number of cards in this stack
go to card i
   repeat for each line tLine in  theControls()
    if "image" is in the name of tLine then
    --Change from referenced to embedded
   end if
   end repeat
end repeat

function theControls
   repeat with i = 1 to the number of controls
     put the name of control i into line i of results
   end repeat
   return results
end theControls

So what goes into:

Change from referenced to embedded

Thinking wishfully,

Jim



More information about the use-livecode mailing list