AlfredSwitchWindows icon indicating copy to clipboard operation
AlfredSwitchWindows copied to clipboard

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

Open mandrigin opened this issue 7 years ago • 1 comments

mandrigin avatar Feb 22 '17 20:02 mandrigin

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 🙌

Schmedu avatar Aug 30 '19 09:08 Schmedu