AutoHotkey: Auto add URL to Background transfer manager

From TotalcmdWiki
Jump to: navigation, search

With this script you can simply press "a" in the Background transfer manager window to add the URL in clipboard to the BTM list. The file will be downloaded to the current directory and focus will switch back to the previous application.

Intended usage:
Copy link address in the browser window, switch focus to the BTM and press "a".


$a::
IfWinActive, ahk_class DOWNDLGLIST2
{
	SetKeyDelay, 200
	Send, {NumpadAdd}{Up}{Enter}^v{Enter 2}!{Tab 2}
	; Change the delay below to whatever setting you use elsewhere in the script
	SetKeyDelay, -1
}
else
	Send, a
return


Back to AutoHotkey