Created
October 4, 2020 06:34
-
-
Save emisjerry/e030384b4199447abe0e4ab3c589ba80 to your computer and use it in GitHub Desktop.
在PotPlayer裡直接移動播放位置以跳過片頭
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; 在PotPlayer裡直接跳到特定的播放位置 | |
#SingleInstance Force | |
#IfWinActive,ahk_class PotPlayer | |
[:: | |
send g | |
send 00:00:05.200 | |
x := A_CaretX + 250 | |
y := A_CaretY + 5 | |
;;Msgbox x=%x%,y=%y% | |
MouseMove, %x%, %y% , , | |
;;Sleep, 1000 ; for debugging | |
Click | |
send !O | |
return | |
#IfWinActive |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment