Skip to content

Commit

Permalink
Flow Launcher: close start menu before opening
Browse files Browse the repository at this point in the history
  • Loading branch information
TheBestPessimist committed Apr 10, 2023
1 parent 6fbea4f commit 1b0b5d1
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion AutoHotkey64.ahk
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,13 @@ LControl & LWin Up::{
if(!ProcessExist(Process.FlowLauncher)) {
Tippy("It's dead, Jim")
Run(Paths.FlowLauncher)
Sleep 1500
Sleep 2500
}

; if Start menu is open, turn it off
if(WinActive("ahk_class Windows.UI.Core.CoreWindow")) {
Send "{Esc}"
Sleep 500
}
Send "#{F10}"
}
Expand Down

0 comments on commit 1b0b5d1

Please sign in to comment.