Switch window by name
Alfred workflow to switch to a window by the name of the window title. Uses Alfred's adaptive searching engine to make filtering really quick as it learns which windows you usually switch to.
window <search window titles>
You need to add Alfred to the list of apps allowed to control your computer in System Preferences → Security & Privacy → Accessibility. If you don't, it fails silently.
One day, I'll have a proper webpage for these workflows. Apologies for the direct download.
I did have it loading icons for the apps, but defaults takes too long to get the app icon. For something that's fast, waiting 1 second for it to load the icons takes too long, hence the uniform icon. At least it has the app name underneath!
Known bug: if a window title has the word "window" in it, stuff breaks! I've already spent hours on this workflow, sorry!