At 4:20 AM -1000 5/4/2000, Sivakatirswami wrote:
>In the Concepts stack it says we can "also use images as containers and put
>data in them
>
>put myGifdata into image "someImage"
>
>this doesn't seem to be the same as setting the fileName property of the
>image?
>
>I tried this, as a test to change the image by script
>
>   put "ht/Images/theGif.GIF"  into image "mansukh.jpg"
>
>but it doesn't work.

Try this:

put url ("binfile:ht/Images/theGif.GIF") into image "mansukh.jpg"

Your script was trying to put a text string ("ht/Images/theGif.GIF") 
into the image. You can use either the url method to get the data 
directly, or use the "read file" approach.

Cheers
Dave Cragg

Archives: http://www.mail-archive.com/metacard%40lists.best.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.

Reply via email to