I would like to create a finder window by right clicking and selecting "new finder window" similar to the right clicking to create a new folder . Is this possible through automator?
Right click creates new finder window at click location
finder
Related Question
- MacOS – How to open a new Finder window on every click on the Finder Icon
- Right click on title of document no longer opens finder
- MacOS – How to make windows of new folders open in the size
- MacOS – How to open new Finder window in current space quickly
- “New Item” in Finder’s right-click menu
- Finder new window change location
Best Answer
If you are looking to open a new Finder window with its position being the current position of your mouse location… this will accomplish that for you.
This code requires the third-party utility, Cliclick.
It's free to download but it's donationware, and is easy to install.
On my system I have.
cliclick
in the following directory:/usr/local/bin/
. Because of this location, in my AppleScript code and in Terminal app, I need to use the full path tocliclick
to call the command. For example:do shell script "/usr/local/bin/cliclick rc:."
In AppleScript is tellingcliclick
to right-click.This works for me using the latest version of macOS Mojave.
Create a new Automator Quick Action document and add a “Run AppleScript” command to your workflow. Then overwrite the pre-existing text in the AppleScript command with this following code. Then save your file. I saved mine with the name “New Finder Window At Mouse Location.workflow”
You won't be able to access this command through “Right Click” menu but you can create a keyboard shortcut to run your new Quick Action which will open a new Finder window at your current mouse location.