Switch current path of Open/Save dialogs and Finder windows
(If you've updated via the Alfred Gallery, you can ignore this message).
The bundleID has changed since version 3.x. Importing later versions than 3.x will create a new Alfred workflow instead of updating the previous one.
Once you've imported the new version, delete the old version (check the version number beginning with v
at the top of the main window). This also means that any changes you've made to the workflow's configuration will need to be redone.
Available on the Alfred Gallery
For the original workflow on which this one was based, see this older Alfred forum thread.
Switch the selected path in a MacOS Open/Save (and similar) dialog via the Universal Action.
This can also be used to navigate the currently focused Finder window to the chosen path.
Alternatively, get paths for open Finder windows and tabs via the keyword gtf
, or search files and folders via the keyword gth
.
The workflow recognizes dialog windows based on the action button name. Button names recognized by default: "Open", "Save", "Export", "Move", "Select", "Upload", "Choose", and "Choose file". Those button names can be edited to add others, and/or to replace them with non-English versions, in the Workflow Configuration, along with adjusting the speed of execution in case of slower machines.
In the Finder, the workflow will switch the currently focused tab/window to the chosen path. If no window is open, it will open a new one.
Optionally use the external trigger to call this workflow from another one. For example:
- In a separate workflow, add a List Filter, File Filter, or Script Filter. The workflow needs to output a file or folder path.
- Add a Call External Trigger Output for outputting the path.
- In the settings for that output, click "Workflow Triggers..." and choose the trigger for this workflow.
Thanks for help and suggestions: ahmadt, sepulchra, vitor, jwrc, tombenz, gingerbeardman
Icon credit: Stash Icons. MIT License