mandrigin / AlfredSwitchWindows

An application for using in Alfred workflow to enumerate and switch between windows on OSX.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add a mode to support windows only from the current frontmost application

mandrigin opened this issue · comments

commented

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 🙌