Open nobef opened 2 years ago
Open the script with a text editor, go to line 8 and you should see this:
keybind = "W"
Change W to any keybind you want. Capitalization matters so "k" and "K" is not the same.
If you input "K" you'll have to use shift+k in mpv to access the script menu, with a small "k" no shift is needed and you can just press k to access the script.
@mikamidd I did not mean W, but I wanted to reassign "c" to "k"
Oh, you mean the crop function?
I believe it's this, line 2814:
["c"] = (function()
Change "c" to the hotkey you want. Note that this won't change the hotkey that's displayed in the script menu, so for consistency you'll have to change line 2734:
ass:append(tostring(bold('c:')) .. " crop\\N")
Change the 'c:' here to whatever hotkey you assigned your crop function to.
@mikamidd Thank you! Works.
@mikamidd Forgive me for writing here, but I forgot how the script is activated initially, I barely remembered (Shift + W). I would like to indicate this in the description in the topic! And so this is the best script, thanks!
@mikamidd Hello! I wanted to update the script, and the same question friend.... If possible, I would like it in the .conf file. Thank you!
Everything works fine for me, but I would like to reassign the key from "c", for example, to "k", since there is another script for that key. I'm a noob and couldn't do it myself. Thank you!