调用迅雷COM组件

许多实用脚本和封装函数, 可以让您编写脚本更加便捷高效

Moderators: tmplinshi, arcticir

tmplinshi
Posts: 1604
Joined: 01 Oct 2013, 14:57

调用迅雷COM组件

03 Sep 2015, 03:04

Code: Select all

try {
	thunder := ComObjCreate("ThunderAgent.Agent")
	thunder.AddTask( "http://oss.aau.cn/aauto/ide/AAuto.7z" ;下载地址
			       , "AAuto.7z"  ;另存文件名
			       , "d:\"  ;保存目录
			       , "快手"  ;任务注释
			       , "http://bbs.aau.cn/portal.php?mod=view&aid=2"  ;引用地址
			       , 1 ;开始模式
			       , true  ;只从原始地址下载
			       , 10 )  ;从原始地址下载线程数
	thunder.CommitTasks()
}
Catch, e {
	MsgBox, 抱歉,您未安装迅雷
}

Return to “脚本函数”

Who is online

Users browsing this forum: No registered users and 8 guests