adding --ahk flag to komorebic stop command #447

Closed
opened 2026-01-05 14:50:47 +01:00 by adam · 3 comments
Owner

Originally created by @azinsharaf on GitHub (Aug 14, 2024).

Is your feature request related to a problem? Please describe.
komorebic stop doesn't have --ahk flag so stopping komorebic keeps the komorebi.ahk script open in the taskbar.

Describe the solution you'd like
adding --ahk flag in the stop command.

Originally created by @azinsharaf on GitHub (Aug 14, 2024). **Is your feature request related to a problem? Please describe.** `komorebic stop` doesn't have `--ahk` flag so stopping komorebic keeps the `komorebi.ahk` script open in the taskbar. **Describe the solution you'd like** adding `--ahk` flag in the `stop` command.
adam added the enhancement label 2026-01-05 14:50:47 +01:00
adam closed this issue 2026-01-05 14:50:47 +01:00
Author
Owner

@azinsharaf commented on GitHub (Oct 9, 2024):

hi @LGUG2Z
is there any time estimate this flag can be added? i have to kill AHK manually everyday.

@azinsharaf commented on GitHub (Oct 9, 2024): hi @LGUG2Z is there any time estimate this flag can be added? i have to kill AHK manually everyday.
Author
Owner

@LGUG2Z commented on GitHub (Oct 10, 2024):

This one is a little tricky because Stop-Process when matching on a process name will kill all instances of a process - people usually have multiple AHK scripts running so we need a way to only kill the AHK process which is running komorebi.ahk 🤔

Open to any ideas anyone has

@LGUG2Z commented on GitHub (Oct 10, 2024): This one is a little tricky because `Stop-Process` when matching on a process name will kill all instances of a process - people usually have multiple AHK scripts running so we need a way to only kill the AHK process which is running `komorebi.ahk` 🤔 Open to any ideas anyone has
Author
Owner

@azinsharaf commented on GitHub (Oct 10, 2024):

i am wondering if this works:

Stop-Process -Name "AutoHotkey" -Filter "WindowTitle -eq 'ScriptName.ahk'"

@azinsharaf commented on GitHub (Oct 10, 2024): i am wondering if this works: Stop-Process -Name "AutoHotkey" -Filter "WindowTitle -eq 'ScriptName.ahk'"
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/komorebi#447