![]() ![]() ![]() I’m too lazy to provide a new screen snapshot today, but here in 2023, my OpenTerminalInFinderDir.scpt script appears at the bottom of a similar-looking menu on the menubar. When you combine this with enabling AppleScript in the Mac menubar (see the link below), the result looks something like this: Here in April, 2023, I named this file OpenTerminalInFinderDir.scpt, and put it in either /Library/Scripts/AlsScripts or ~/Library/Scripts/AlsScripts. Alternatively, search Terminal in Spotlight. Now, when youre in Finder, just right-click a folder. Find 'New Terminal at Folder' in the settings and click the box. When I have a Mac Finder window in the foreground and run this script from the AppleScript menu on the macOS menubar, it opens a new Mac Terminal window, and automatically places me in the same directory as the current Finder folder. Go to Finder > Applications folder > Utilities folder and click Terminal. How to open a folder in Finder from Terminal on a Mac. Head into System Preferences and select Keyboard > Shortcuts > Services. Set thePath to (quoted form of POSIX path of (target of myWin as alias)) Fortunately the script code is relatively readable. I couldn’t find any other way to do this, so I finally wrote an AppleScript script to do it. AppleScript code to open a Terminal in the current Finder folderįor a while I have wanted to be able to open a Mac Terminal window in the same directory as the Mac Finder folder that I’m currently looking at. Apple/macOS Terminal/Finder tip: This tutorial shows how to open a Mac Terminal window in the current Finder folder by using AppleScript. Open Terminal using the Applications folder 4. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |