jnewland / alfred-open-windows

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Does not work (Alfred3.5.1, macOS Sierra 10.12.6)

a-x- opened this issue · comments

[2017-10-28 15:48:55][STDERR: input.scriptfilter] windows.ascr:116:162: execution error: Alfred Preferences got an error: Can’t get name of every window whose visible = true. (-1728)

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.

Alfred 3 needs to be listed here and the box next to it must be checked.

image

I'm using Alfred 3.6 and 10.13.3, I'm getting the error

# bash alfred-open-windows-filter.sh    
Mar  1 17:20:40  alfred-open-windows-filter.sh[99656] <Notice>: application.ascr:54:92: execution error: Can’t get application id "" of «script». (-1728)
<?xml version="1.0"?><items>
Mar  1 17:20:40  alfred-open-windows-filter.sh[99656] <Notice>: windows.ascr:79:83: execution error: Can’t get application id "" of «script». (-1728)Can’t get application id "" of «script». (-1728)

# bash alfred-open-windows-filter.sh  Sublime
Mar  1 17:20:40  alfred-open-windows-filter.sh[99656] <Notice>: application.ascr:54:92: execution error: Can’t get application id "" of «script». (-1728)
<?xml version="1.0"?><items>
Mar  1 17:20:40  alfred-open-windows-filter.sh[99656] <Notice>: windows.ascr:79:83: execution error: Can’t get application id "" of «script». (-1728)

Alfred 3.app is already in Security&Privacy->Accessibility and enabled