我正在使用applescript在自动下载备份网站使用网站。原来的方法行不通,所以我联系了sitesucker的创建者。在当前版本中,这个特性出现了问题,所以他给了我一个applescript来做同样的事情。问题:我基本上对applescript一无所知,也不知道如何指定我需要下载的URL。
这是我得到的剧本:
on run {input, parameters}
tell application "SiteSucker"
activate
-- Create a new document
set front_document to make new document
-- Get the download folder
tell settings of front_document
set download_folder to download folder as alias
set download_folder_path to POSIX path of download_folder
end tell
-- Download the specified URLs
repeat with the_url in input
download the_url
end repeat
-- Wait until the download is finished before continuing
repeat while downloading of front_document
delay 1
end repeat
end tell
return download_folder_path
end run我试着联系给我剧本的人,但他们没有回复。我想也许我可以在这些论坛上得到一个更快的答案。
发布于 2013-07-23 16:18:58
您不需要使用他们给您的applescript。
将脚本放入新的“”操作(覆盖默认内容)
并在上面添加一个“Get指定的URLS”自动操作。
将您的Urls添加到“获取指定的URLS”自动操作中。

https://stackoverflow.com/questions/17815399
复制相似问题