Page 1 of 1

调用迅雷COM组件

Posted: 03 Sep 2015, 03:04
by tmplinshi

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, 抱歉,您未安装迅雷
}