Hotkey/shortcut to pause encoding #6405
Replies: 3 comments 1 reply
-
|
Hello, Welcome to the HandBrake repository. Warning Please be cautious of any non-members suggesting that you download a "DLL" or any other files from 3rd party websites. Tip For HandBrake documentation, please see https://handbrake.fr/docs Thank You, |
Beta Was this translation helpful? Give feedback.
-
|
Alt-P |
Beta Was this translation helpful? Give feedback.
-
#Requires AutoHotkey v2.0
#HotIf (WinActive(A_ScriptName))
~$^s:: {
Critical(true)
ToolTip("reloading " A_ScriptName)
Sleep(500)
Reload()
}
#HotIf
handbrake := "ahk_exe HandBrake.exe"
paused := false
GroupAdd("pause","DeadByDaylight")
GroupAdd("pause","Overwatch")
Loop{
;wait for window that needs to pause
WinWaitActive("ahk_group pause")
stored := WinActive("A")
try WinActivate(handbrake)
;pause processing
Send "!p"
WinActivate stored
WinWaitNotActive("ahk_group pause")
KeyWait("alt")
Sleep 10
if(!WinActive("ahk_group pause")){
stored := WinActive("A")
try WinActivate(handbrake)
;resume processing
Send "^e"
try WinActivate stored
}
}Add whatever programs or window names you want with GroupAdd, it pauses processing while such windows are open, resumes processing when you switch off. In short, feature request bypassed with external scripting. Could still be run better if there were shortcuts that could be used while other applications are focused, but this works. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Description of the feature or enhancement you'd like to see in HandBrake
I would love to have the option to either
If the latter is added, I could fairly easily code the automatic behavior I'm wanting using AutoHotKey.
What Operating System are you running?
Windows 10
What version of HandBrake are you running?
No response
Where did you download HandBrake from?
No response
Activity Log, Crash Log or any other details
No response
Beta Was this translation helpful? Give feedback.
All reactions