avenuegaq.blogg.se

Autohotkey martin mpc
Autohotkey martin mpc






But as soon as I start a new video I have to move the mouse again to get my keys to work again. After that I can pause/play the video at will and my hotkeys will work as desired. And I only have to do this once to get my keys to work. If I set mpc-hc to start my videos in full screen (which I do and prefer), then I have to manually move the mouse first (I tried MouseMouse to simulate this prior to my sendinputs but it didn't work), to get my hotkeys above work (space = pause and moves mouse over info bar so it is displayed enter = play and moves mouse off of info bar so it disappears). Works perfectly for me if the video doesn't start in full screen. #IfWinActive, ahk_class MediaPlayerClassicW, Playing IfWinActive, ahk_class MediaPlayerClassicW, Paused You mean something like this: DetectHiddenWindows, on Menu, mFile, Add, &Zapisz Ctrl+S, saveFileįileSelectFile, filePath, 1,%katalog%\Chapters\%nazwa%.Read up on Timers and DetectHiddenWindows or ( DetectHiddenText) depending on which works better in your situation.

autohotkey martin mpc

Menu, mFile, Add, &Otwórz Ctrl+O, openFile Gui, Add, Button, ys x+20 w90 ggenerateMenu, Utwórz Menu

autohotkey martin mpc

Gui, Add, Button, ys w90 gdeleteBookmark vdelButton, Usuń Rozdział Gui, Add, Button, w90 section gaddBookmark, Dodaj Rozdział Gui, Add, ListView, y+20 w300 R20 Grid vmainLV gLVEvent, UnformattedTime|Czas|Nr|Nazwa SplitPath, FullFileName, name, dir, name_no_ext, nazwa SplitPath, FullFileName, OutNameNoExt, katalog SplitPath, FullFileName, name, dir, name_no_ext, plik WinGetTitle, FullFileName, ahk_class MediaPlayerClassicW Stringright, MPCvideoTime, MPCvideoTime, % InStr(MPCvideoTime, " /") - 1 Right click chapter in listview - go to it, ctrl+wheel - show menu with chapters /where is cursor position/, doubleclick - edit chapter.Ĭhapter numbering /not saving/, chapters from movie < 1h /fixed/.ĬontrolGetText, MPCvideoTime, %MPCCurrentTimeControl%, ahk_class %MPCWindowClass% Global Hotkeys: insert, open, save, go to chapter, next / prev chapter, show MPC menu chapter, or create menu in mpc /in editing mode/, exit. Saving: Create directory "Chapters", and save within file with name like video, but with extension "txt" When MPC-HC is playing, starting script is searching txt file with the same name that playing video, but in subdirectory "Chapters", so when we have chapters file, just "enter" and chapters are loaded and menu chapters in MPC is created. Polish Language in MPC /or change: "WinWaitActive, Przejdź do., 2" > "WinWaitActive, Go To., 2" /two times/ Display Full Patch in player options MPC-HC

autohotkey martin mpc

it's my first time with scripting ever. This script didn't work, but after few weeks it does.








Autohotkey martin mpc