Thanks for the reply. Ok, created the button, but what i don't know is how to define a variable(parameter), and point to that variable to insert my argument? Before the -o, there should be a variable.
That is why I asked whether the order of the parameters were significant. Anyway,
because of the ? mark on line 3, when you click the button you should see a dialog that says: "Command line parameters": here you can enter your variable (<weblink>). Notice that I have moved --skip-download to the end of the command line, because I suspect that it has to be in front of <weblink>, which will be inserted at the end when you click OK in the dialog after you have written your weblink parameter - but I might be wrong, maybe weblink has to be before -o (in contrast to after --skip-download) - and then this button cannot be used. If that is the case, you can use this:
Code: Select all
TOTALCMD#BAR#DATA
ConEmu64.exe youtube-dl.exe --all-subs --skip-download
? -o "%%(autonumber)s. %%(title)s.%%(ext)s"
ConEmu64.exe
YouTube-dl
-1
But then you will see -o "%(autonumber)s. %(title)s.%(ext)s" in the dialog box and you will have to write your variable in front of that - not so elegant. Notice the double %% - you have to use that in TC's parameter field.
I cannot test it myself, because I dont have neither ConEmu64.exe nor youtube-dl.exe