Search Open Finder Windows - Changelog

2.1.1

  • Refinements to icons.
  • Now uses macOS' built-in "Network" icon.
  • Improved handling of nonstandard windows when Finder is not in focus.
  • Consolidated string matching blocks.
  • Replaced regular expression matching with zsh-optimized case statements and glob patterns.
  • Implemented more concise, zsh-native parameter expansion.
  • Explicitly defined remaining executables with their paths to eliminate $PATH lookup.
  • Replaced unnecessary associative arrays with regular arrays.
  • Resolves an issue where the displayed name of the iCloud Drive folder would appear incorrectly.
  • Resolves a rare issue that would cause the script filter to hang if a "Get Info" window's inspected item does not have a real UNIX path.

2.1.0

  • Added icons for AirDrop and network windows.
  • Updated colors of existing icons.
  • Moved all special Finder window type handling from AppleScript to zsh.
  • Custom logic now extracts the specific Mac's icon from macOS' /System volume.
  • Includes a fallback for pre-2023 Mac models.
  • Added icon for "Documents" folder.
  • Replaced all basename calls with zsh parameter expansion.

2.0.0

  • Live IPC with AppleScript streaming using FIFO.
  • Dynamic trap system.
  • Live hidden‑item detection (no Finder relaunch required).
  • Optimized find call into separate functions.
  • Moved certain redundant definitions from the function scope to the main scope.
  • Replaced multiple processes with.
  • Single‑shot temp‑dir workflow.
  • while read loops with process substitution reduce the need for zsh array parsing.
  • Executable map updated.
  • AppleScript now runs immediately after only strictly necessary definitions.
  • Smarter sanitize().
  • Streamlined error handling.
  • Herestring usage.
  • More detailed comments added to all scripts.
  • Bug Fixes.
  • Trash‑path parsing on volumes with spaces is now reliable after a param‑expansion rewrite.

1.4.2

  • Improved performance, trash detection, and Finder window title handling.
  • Greatly reduced size of images.

1.4.0

  • Extended Matching: For Finder windows, the user can optionally disable matching of directory contents (files/subdirectories) and path components (parent directories).
  • Accelerated construction of match string by using find instead of ls.
  • Switched to zsh's automatic array separation with IFS instead of while read -r line loop.
  • Replaced unnecessary spawning of subshells with process substitution wherever possible.
  • Replaced as much use of coreutils as possible with zsh's parameter expansion.
  • Added caching for custom icons.
  • Implemented short-term caching of results (Avoids regeneration of JSON after a window closes).
  • Removed window index from match terms (Alfred already has this built-in with hotkeys).
  • Added ~ to display titles and match terms for UNIX-style brevity.
  • Improved AppleScript's handling of window closures.
  • Simplified formatting of variable names for consistency.

1.3.1

Removed lingering debug statement from script filter.

1.3.0

  • Moved osascript call from subshell to main shell.
  • Added handling for nonstandard Finder windows (e.g. "Recents").
  • Added handling for edge-case unicode characters in names of windows and folder contents.
  • Added handling for carriage returns (\r) in JSON results.
  • Relocated custom icon cache from $HOME to /tmp to reduce clutter.
  • Prioritized custom icon retrieval in icon-fetching sequence.
  • New icon for "Recents" window.
  • Skips more macOS resource forks when building match string.

1.2.3

Initial Gallery version.

Back to Workflow Page