AlfredSwitchWindows
AlfredSwitchWindows copied to clipboard
Add a mode to support windows only from the current frontmost application
Copy the script filter for the keyword w
and modify it to:
CURRENT=$(osascript -e 'tell application "System Events"' -e 'set frontApp to name of first application process whose frontmost is true' -e 'end tell')
./EnumWindows --search="$CURRENT"
change the keyword to eg wc
and select No Argument
btw, thanks for the workflow 🙌