Last active
January 15, 2021 22:22
-
-
Save dariusz-wozniak/963915650a827307d7f8eaba3fd46227 to your computer and use it in GitHub Desktop.
Run Slack Minimized (AutoHotkey script)
This file contains hidden or 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
Run, %USERPROFILE%\AppData\Local\slack\Update.exe --processStart "slack.exe", , Normal | |
WinWait, ahk_exe slack.exe | |
Loop, 50 | |
{ | |
WinHide, ahk_exe slack.exe | |
Sleep, 200 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, I tried
But it does not work, despite
%USERPROFILE%\AppData\Local\Microsoft\WindowsApps\slack.exe
working via command line.Any thoughts why this might be?