@
lqik2004 可否设置加入默认下载器?我机子上 SD 和 Aria2c 都有,但我希望都使用 Aria2c 下载。
在 Alfred 里面将
tell application "Finder" to tell (application file id "com.yazsoft.SpeedDownload") to set sdpath to POSIX path of (its container as alias) & name
end try
if sdpath is not "" then --open SD
tell application "Finder" to tell (application file id "com.yazsoft.SpeedDownload") to set SDName to name
SDDownload(SDName, cookies, downloadurl)
else
--open aria2c
这段代码用(* 和 *) 注释掉以后发现不能用了……