3
喜歡的東西:如何使用AppleScript下載文件?
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
- 我如何獲取路徑,爲用戶的默認下載文件夾?
- AppleScript不喜歡路徑轉換。我該如何解決這個問題?