how to download an image

Colin Holgate colinholgate at gmail.com
Sun Jun 4 03:41:28 EDT 2017


Scott’s routine worked for me too. It’s worth checking where the spaces and returns there are in his test, I had to edit it from the email version. I also just tested in the multiline message box. For testing in a button, in LiveCode 8, you have to declare the variable as well. This was the whole button script:

on mouseUp

local theURL

put "http://s3.amazonaws.com/appforest_uf/f1496548544475x140387106221169240/grilled_cheese_on_plate.jpg" into theURL

put url theURL into url ("binfile:" & specialFolderPath("desktop") & "/DLimage.jpg")

end mouseUp





More information about the use-livecode mailing list