Something like:
set the file_tgt to (path to downloads as string) as file specification
set file_src to "http://my_file.png"
tell application "URL Access Scripting"
download file_src to file_tgt
end tell
- How do I get the path to the default downloads folder for the user?
- AppleScript doesn't like the path conversion. How can I fix that?