Advertisement
Lorenzo501
Mar 23rd, 2025 (edited)
5
0
Never
This is comment for paste Episode Switcher (idea for Time Saver)
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ; [the solution below is worse because it also needs to use the VLC video output Automatic to make playlists actually work, because Direct3D9 is still necessary for HDR subtitles and that would then not be possible to use..]
  2. ; It can be done easier by automatically creating a playlist after either a double-click or the Enter key gets detected, because you can get the file names starting with the selected one, going up to the last episode and using it in the Run command (vlc "file1.mp4" "file2.mp4"). Double-clicks are only used for opening files and the first click of a double-click should always either cause a file to get selected or deselected, which is fine but the Enter key could be used to complete a rename, while a file is selected, which must not trigger the playlist to get created obviously but that requires skipping that while renaming
  3. try
  4. {
  5.     focusedClassNN := ControlGetClassNN(ControlGetFocus("A"))
  6.  
  7.     if (focusedClassNN = "Edit1" || focusedClassNN = "Edit2")
  8.         ToolTip("RENAMING")
  9. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement