Get the App
SLTechnology News&Howtos  ›  Development  › 

How to use script to control Thunderbolt download

Shulou Source: shulou.com Published: 2022-06-03 08:31:36 10月04日 Update

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!

Tags: Thunderbolt script control file method learning object key parameter folder more help run practical rough success next two right instance Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Information Huawei MariaDB Shulou Technology NVidia