pacmax beta

Alfred Pac by jnewland on GitHub

open windows

Alfred extension to switch between open windows of the currently focused application

From their README

Alfred Open Windows

A simple extension to switch between open windows of an application with Alfred. Great for switching between several full-screen windows of the same application.

skitched-20140501-104246

Installation

wget https://github.com/jnewland/alfred-open-windows/archive/v0.0.2.zip
unzip v0.0.2.zip
cd alfred-open-windows
make

Setup

Granting Alfred Accessibility Access

In order for Alfred to list the open windows for an application for your text snippets, it must be granted Accessibility access in your Mac's Security & Privacy preferences, under Accessibility.

Click the plus icon, and then add Alfred 3. When you're done, it should look like this:

image

Configuring a Keyboard shortcut

Double click the 'Hotkey' icon in the Alfred workflow to set a keyboard shortcut:

skitched-20140501-103948

Usage

Press the keyboard shortcut you entered above, and then type in a search phrase matching one of your open windows. Pressing enter will switch to this window.

Debugging

sudo tail -f /var/log/system.log | grep alfred-open-windows

Latest release

1 earlier release
  • 0.0.18 years agoDownload

    Installation

    wget https://github.com/jnewland/alfred-open-windows/archive/v0.0.1.zip
    unzip v0.0.1.zip
    cd alfred-open-windows
    make
    

    Setup

    https://github.com/jnewland/alfred-open-windows#setup

    Changes

    • Tested on Alfred 3.5.1.
    • Use Alfred's built-in filtering instead of filtering in bash.
    • Use osascript for window switching logic instead of an embedded applescript.
    • Fix bug in window switching logic that affected applications that used special characters in their window list (Atom and VS Code).
    • Use Alfred's focusedappvariable support.
    • Remove keyword usage in favor of hotkeys. I didn't use this, but would be open to someone working to fix it if they did! 😉
    • Log errors to syslog.