Aegisub
Aegisub copied to clipboard
Feature request : "comment" hotkey
Hi. The comment feature cannot be bound actually. Would it be possible ?
here's an automation script
-- Toggle Comment
-- Nicked from HYDRA
script_name="Toggle Comment"
script_description="Comments/uncomments current lines"
function comment(subs,sel)
for x,i in ipairs(sel) do
line=subs[i]
line.comment=not line.comment
subs[i]=line
end
return sel
end
aegisub.register_macro(script_name, script_description, comment)
put it in your autoload directory and bind it to whatever