Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to use script to control Thunderbolt download

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/03 Report--

This article mainly introduces "how to use scripts to control Thunderbolt downloads". In daily operation, I believe many people have doubts about how to control Thunderbolt downloads with scripts. The editor consulted all kinds of materials and sorted out simple and easy-to-use operation methods. I hope it will be helpful for you to answer the doubts about how to use scripts to control Thunderbolt downloads. Next, please follow the editor to study!

First of all, find what Xunlei added in the right key of IE: "download link with Thunderbolt". So open the registry, run regedit, select the key, HKEY_CURRENT_USER\ Software\ Microsoft to find: "Thunderbolt". The results come out, put them in HKEY_CURRENT_USER\ Software\ Microsoft\ Internet Explorer\ MenuExt, and then find two files in the window on the right: geturl.htm and getallurl.htm. So go to the installation folder of Xunlei and open the geturl.htm file with notepad. After a cursory glance, as I expected, menuArguments was called. I found a critical object: ThunderAgent.Agent.1 opened my favorite script editing tool, PrimalScript, which can prompt any method parameter of COM, and found the use of this COM:

At a glance, we can see that the most important thing is the AddTask method. I looked at the parameter list.

It's also relatively simple. Take a look at the method in geturl.htm. After AddTask is completed, use CommitTasks to start Thunderbolt download.

Randomly find a URL test download, press F7 to run, successful.

You can download this example vbs and try it.

Click download

Then I searched the Internet and found that adding Thunderbolt downloads to Maxthon, Opera and FireFox all called this object ThunderAgent.Agent.1. Thunderbolt version 5.1 and above have this object installed on the system by default. The green version is not installed. Registered to ThunderAgent.dll in the installation folder of Xunlei

At this point, the study on "how to use scripts to control Thunderbolt downloads" is over. I hope to be able to solve your doubts. The collocation of theory and practice can better help you learn, go and try it! If you want to continue to learn more related knowledge, please continue to follow the website, the editor will continue to work hard to bring you more practical articles!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report