mandrigin Posted February 24, 2017 Share Posted February 24, 2017 (edited) Hello! I made an Alfred 3 workflow to search and switch between open windows in the system and Safari (and Chrome) tabs. More app-by-app support are (hopefully) coming. It is uses the companion native app, that's what makes it much faster than the other alternatives. https://github.com/mandrigin/AlfredSwitchWindows/releases Sierra only (at the moment). PS: Thanks to Emanuele Munafò and his "Windows Switcher" workflow for the inspiration. Edited April 8, 2017 by mandrigin oldhgf, 40-02, dfay and 2 others 5 Link to comment
paulw Posted February 25, 2017 Share Posted February 25, 2017 This is great, thank you! I've been hoping for someone to develop a window switcher. For the Safari tabs script filter, though, I get the default searches in Alfred, but no Safari tabs (with Safari open and multiple tabs). Link to comment
mandrigin Posted February 26, 2017 Author Share Posted February 26, 2017 Which version of macOS and Safari are you using? Are Safari windows or tabs being shown in the regular windows switcher filter? Link to comment
paulw Posted February 27, 2017 Share Posted February 27, 2017 I'm using 10.12.4 beta and Safari 10.1 No Safari windows or tabs are being shown in the window switcher either. Link to comment
mandrigin Posted February 27, 2017 Author Share Posted February 27, 2017 Is it the Safari installation that comes with the OS? Or is it a Tech Preview (a separate installation)? If possible, what's the bundle ID of Safari on your machine? Link to comment
TheDonk Posted February 27, 2017 Share Posted February 27, 2017 What about this workflow is problematic on El Capitan? I tried it, and it seems to work for most apps (Spotify the only window that didn't show up in the list). It is indeed much faster than the one I've been using. mandrigin 1 Link to comment
mandrigin Posted February 27, 2017 Author Share Posted February 27, 2017 Nothing, really. I just built the binary with Sierra as a target version and never tested on the El Cap. So if it works — great! Link to comment
paulw Posted February 27, 2017 Share Posted February 27, 2017 7 hours ago, mandrigin said: Is it the Safari installation that comes with the OS? Or is it a Tech Preview (a separate installation)? If possible, what's the bundle ID of Safari on your machine? Yes, it's the one that comes with the OS. Bundle ID is 12603.1.29 Link to comment
mandrigin Posted February 28, 2017 Author Share Posted February 28, 2017 @paulw I released an update to my workflow. Maybe it will help with the Safari tabs. Worst case: it would show you Safari windows instead.https://github.com/mandrigin/AlfredSwitchWindows/releases/tag/v0.2.3-beta Link to comment
paulw Posted February 28, 2017 Share Posted February 28, 2017 That works! Beautiful! Thank you Link to comment
dr_selump14 Posted March 2, 2017 Share Posted March 2, 2017 (edited) wow, it works great and fast ... love it ... but it always try to open safari even I don't use it.. is there any way to exclude opening safari? Edited March 2, 2017 by dr_selump14 Link to comment
mandrigin Posted March 2, 2017 Author Share Posted March 2, 2017 > but it always try to open safari even I don't use it.. is there any way to exclude opening safari? wow, haven't seen this behaviour before. that looks like a bug, I'll try to reproduce and fix it. Link to comment
mandrigin Posted March 4, 2017 Author Share Posted March 4, 2017 @dr_selump14 The issue with Safari is fixed in 0.2.4. Please, upgrade & enjoy https://github.com/mandrigin/AlfredSwitchWindows/releases/tag/0.2.4-beta Link to comment
flome Posted March 16, 2017 Share Posted March 16, 2017 This is not working on my machine. I'm on Sierra 10.12.4 Beta (16E189a). It simply does nothing when invoking via keyword, or even setting a hotkey. Debugger doesn't even kick in. Alfred has permissions in accessibility as well. Link to comment
mandrigin Posted March 20, 2017 Author Share Posted March 20, 2017 @flome what if you open the workflow in Terminal and run ./EnumWindows --search="Finder" does it show any output? Link to comment
flome Posted March 21, 2017 Share Posted March 21, 2017 On 3/20/2017 at 3:06 AM, mandrigin said: open the workflow in Terminal and run ./EnumWindows --search="Finder" Apologies, but I wasn't aware you could open workflows in Terminal? Would you might walking me through that? Link to comment
mandrigin Posted April 1, 2017 Author Share Posted April 1, 2017 @flome sure! Just open Alfred preferences and then go to the list of the workflows, then right-click and select "Open Workflow folder in Terminal" or something like this. Then run the command I sent before there. Link to comment
123 Posted April 6, 2017 Share Posted April 6, 2017 Great Workflow, thanks for sharing. Unfortunately Safari tabs are not being shown if Safari is in Full Screen Mode. Could you fix that? Link to comment
mandrigin Posted April 6, 2017 Author Share Posted April 6, 2017 You are very welcome! Everything related to Spaces/Fullscreen is not supported now. It is definitely on my todo list for this project though. Link to comment
mandrigin Posted April 7, 2017 Author Share Posted April 7, 2017 Version 0.2.5 is released. Should fix the issues with switching Safari tabs after the latest macOS update. You can download the new version here:https://github.com/mandrigin/AlfredSwitchWindows/releases/tag/0.2.5-beta Or in Packal. Link to comment
mandrigin Posted April 8, 2017 Author Share Posted April 8, 2017 Version 0.2.6 has Chrome tabs support. That was actually easier than I thought. You can update in Packal or download it from here: https://github.com/mandrigin/AlfredSwitchWindows/releases/tag/0.2.6-beta Link to comment
FroZen_X Posted May 12, 2017 Share Posted May 12, 2017 On 2017-4-8 at 10:20 AM, mandrigin said: Version 0.2.6 has Chrome tabs support. That was actually easier than I thought. You can update in Packal or download it from here: https://github.com/mandrigin/AlfredSwitchWindows/releases/tag/0.2.6-beta Could you bring in the option to search on every desktop? Like i cannot search for tabs when chrome is on another desktop. Else its pretty fast! Link to comment
M1m1s Posted May 22, 2017 Share Posted May 22, 2017 Just downloaded to try. Workflow only succeeds in listing open tab results for a search, but fails to open selected tab in Safari with enter (does nothing). Does it currently work normally? Link to comment
mandrigin Posted May 23, 2017 Author Share Posted May 23, 2017 @M1m1s is your Alfred listed in the "Security & Privacy" -> Accessibility? It needs these permissions to be able to switch windows/tabs. Link to comment
mandrigin Posted May 23, 2017 Author Share Posted May 23, 2017 @FroZen_X I'm working on it in my spare time, but I didn't find a good and reliable way to switch to the window on a different desktop. But it is on my todo list, I use a few spaces occasionally. FroZen_X 1 Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now