I added a function that uses the libURLDownloadToFile command to see if that would force the file to download but I'm still not seeing anything happen. The code I'm using for this is:
Code: Select all
on browserDownloadRequest sBrowserId, pUrl
answer pUrl
libURLDownloadToFile pUrl, specialFolderPath("desktop")
answer question "To download files you'll need to swich to an external browser application. Would you like to do that now?" with "Not Now" or "Yes" titled "Go to browser to download?"
if it is "Yes" then
launch url urlCache
end if
abIamNotBusy
end browserDownloadRequest
I would post the URL for the page with the download link but the forum is telling me I don't have permission to post URLs - but its a standard web address with the last entry in the line a .zip file name.
Is there some initialization I need to do in order to get downloads to work in revBrowser? What am I missing? I've tried this on two MacBook Pros - one running Mavericks and the other 10.7.5.
Thanks.