Skip to content

Instantly share code, notes, and snippets.

@brenak
Forked from dariusz-wozniak/RunSlackMinimized.ahk
Last active May 16, 2019 16:50
Show Gist options
  • Save brenak/313f01628db02050a507a2d937ecfc73 to your computer and use it in GitHub Desktop.
Save brenak/313f01628db02050a507a2d937ecfc73 to your computer and use it in GitHub Desktop.
Run Slack Minimized (AutoHotkey script)
Run, %USERPROFILE%\AppData\Local\Microsoft\WindowsApps\slack.exe, , Hide
WinWait, ahk_exe slack.exe
Loop, 50
{
WinClose, ahk_exe slack.exe
Sleep, 200
}
@brenak
Copy link
Author

brenak commented Oct 16, 2018

This version is for the Windows 10 App, installed from the Microsoft Store.

Install AutoHotKey, create the above ahk file. Hit Win+R, and type in shell:startup. Drop this ahk file in, and you are good to go.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment