libURLDownloadToFile and LiveCode

Ludovic Thébault ludovic.thebault at laposte.net
Fri Oct 29 01:58:07 EDT 2010


Hello,

Under Revolution 4, this script work like a charm :

on mouseup
...
     libURLDownloadToFile theUrl, theDestUrl, "Downloaded"
     wait 0 milliseconds with messages
     ShowInfo theUrl

end mouseup

on ShowInfo pUrl
    local tStatus,tResult
    put URLStatus(pUrl) into tStatus 
   switch
     case tStatus....
	....
   end switch
   send "ShowInfo" && pUrl to me in 10 milliseconds
end ShowInfo
	

But with liveCode i've haven't the status and nothing seem to happen.

What is wrong ?

Thanks !





More information about the Use-livecode mailing list