Created
September 26, 2020 14:16
-
-
Save arieljannai/3567641f30407196e04e1d0511b72dea to your computer and use it in GitHub Desktop.
Opens VLC in a small video in the top right corner, with always-on-top and minimal-interface (clipboard/arg)
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
; Verify that you have AutoHotKey on your computer | |
; Save the script to your desired location, preferably in the path | |
; Calling the script: | |
; If no args: taking from clipboard (`vlc-corner-view.ahk`) | |
; If with one arg: using that argeument (`vlc-corner-view.ahk path-to-video`) | |
if (%0%=0) { | |
Run, vlc.exe --no-video-deco --qt-minimal-view --video-on-top --autoscale --no-qt-video-autoresize "%clipboard%" | |
} else { | |
Run, vlc.exe --no-video-deco --qt-minimal-view --video-on-top --autoscale --no-qt-video-autoresize "%1%" | |
} | |
WinWait VLC media player | |
WinActivate | |
WinMove A,, 1300, 20, A_ScreenWidth-1300, A_ScreenHeight-700 | |
Exit |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment