Created
July 8, 2024 03:40
-
-
Save TTTPOB/23d35fbaba38735c1dbecaee162d94ba to your computer and use it in GitHub Desktop.
restart snipaste, useful when you swtich between screen configs
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
Set objShell = CreateObject("Shell.Application") | |
' Kill snipaste.exe | |
objShell.ShellExecute "cmd.exe", "/c taskkill /f /im snipaste.exe", "", "runas", 0 | |
' Start snipaste.exe, adjust the path as necessary | |
objShell.ShellExecute "Snipaste.exe", "", "" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment