ppetto Posted October 16, 2015 Posted October 16, 2015 One way in which I use Alfred a lot is to navigate to frequently-accessed folders using "open" + the first letter or two of the folder name. I'm wondering whether it is possible to have these folders open as new tabs in an already-existing Finder window, if one is present – rather than as new Finder windows? Thanks.
Vero Posted October 16, 2015 Posted October 16, 2015 One way in which I use Alfred a lot is to navigate to frequently-accessed folders using "open" + the first letter or two of the folder name. I'm wondering whether it is possible to have these folders open as new tabs in an already-existing Finder window, if one is present – rather than as new Finder windows? Thanks. You can control this in Finder's own preferences; Pop up Finder's prefs and tick the box for "Open folders in tabs instead of new windows" Belfong 1
ppetto Posted October 16, 2015 Author Posted October 16, 2015 I've got that checked, but alas that only does what I want if I double click a folder from within Finder, and while I have the command key pressed. Opening a folder from anywhere else opens as a new window.
RodgerWW Posted October 16, 2015 Posted October 16, 2015 I also have this issue. Open folders in tabs instead of new windows is also checked. Alfred 2.8 (414) OS X 10.11 (15A284)
DRM Posted October 22, 2015 Posted October 22, 2015 I am having the same issue. Vero makes a good suggestion but unfortunately it does not fix the problem. How would one make a workflow that opens a file in a new Finder window when Finder is not currently open - but opens a file in a new Finder TAB when a Finder window is already open? Thank you!!
multicolor Posted October 25, 2015 Posted October 25, 2015 I am having the same issue. Vero makes a good suggestion but unfortunately it does not fix the problem. How would one make a workflow that opens a file in a new Finder window when Finder is not currently open - but opens a file in a new Finder TAB when a Finder window is already open? Thank you!! One way in which I use Alfred a lot is to navigate to frequently-accessed folders using "open" + the first letter or two of the folder name. I'm wondering whether it is possible to have these folders open as new tabs in an already-existing Finder window, if one is present – rather than as new Finder windows? Thanks. I also have this issue. Open folders in tabs instead of new windows is also checked. Alfred 2.8 (414) OS X 10.11 (15A284) So I had some time and made a workflow for what you describe. Probably not the most elegant solution, but I'm not a programmer, just an engineer that likes to tinker. Even more so since Alfred is so tinkerable.. Get the workflow here. Default keyword is "opop". Graphic from here. Enjoy! ppetto, Luddite and naga098 3
RodgerWW Posted October 26, 2015 Posted October 26, 2015 Seems to work perfectly for me. Thank You multicolor! multicolor 1
jacoblo Posted July 25, 2016 Posted July 25, 2016 Thanks. Workflow works but must be some better way to do this and change the default behaviour? Tried the Finder settings but that didnt work either. Seems like Mac OS X doesn't allow "external" requests to open a new tab and forces to a new window unfortunately. Any thoughts from Alfred team on this?
evildavid75 Posted June 15, 2017 Posted June 15, 2017 Same here, would be a nice update, I regularly end up with 20 Finder windows opened at mid-day.
rshah Posted February 6, 2019 Posted February 6, 2019 (edited) Hate to bring back an old topic, but I found a permanent, MacOS-based solution to this after speaking to the wonderful senior support at Apple (h/t Nick at Apple, 1109457). To force folders in Alfred searches to open in Finder tabs: Go to Apple > System Preferences > Doc Set "Prefer tabs when opening documents" to Always. I'm doing this on on macOS 10.14.3 (18D42). Works like a charm. You are welcome. Edited February 6, 2019 by rshah thebitguru 1
jipnet Posted July 10, 2019 Posted July 10, 2019 Here's a different take: I'd sometimes like to open files or folders in a new tab (my default setting for finder), other times in a new WINDOW. Is there a way to create a command for the latter specifically WHEN the finder default is set to tabs only? tx multicolor 1
multicolor Posted July 28, 2019 Posted July 28, 2019 Alright, interesting problem! So from your idea I wrote a workflow that inverts the behaviour default setting by extending the opop workflow: 1. If opening in new tabs is default: open in new windows 2. If opening in new windows is default: open in new tab in current window Get it here. Keyword is "okok". It doesn't handle the case if the folder is already open in a tab, then it just focuses that tab. If there's the need of a workflow to break it out in to a new window, I might be able to add that as well. It's not obvious to me what the preferred behavior is when Finder is not active: by opening the folder in a random currently open tabbed Finder window, it might be equally disruptive as getting a new window. The original opop-workflow made a new window if Finder wasn't frontmost, which seem to work for most people and is therefore how this one works as well. Cheers, M
dfay Posted July 28, 2019 Posted July 28, 2019 On 10/21/2015 at 9:02 PM, DRM said: How would one make a workflow that opens a file in a new Finder window when Finder is not currently open - but opens a file in a new Finder TAB when a Finder window is already open? Thank you!! see
Luddite Posted March 30, 2020 Posted March 30, 2020 On 10/26/2015 at 1:51 AM, multicolor said: So I had some time and made a workflow for what you describe. Probably not the most elegant solution, but I'm not a programmer, just an engineer that likes to tinker. Even more so since Alfred is so tinkerable.. Get the workflow here. Default keyword is "opop". Graphic from here. Enjoy! Belated thank you to multicolor. This is exactly what I'm looking for. But if I understand it correctly, the Finder window has to be the frontmost app for the AppleScript to work, right? Still, this is better than having 10 windows open 😫.
multicolor Posted March 30, 2020 Posted March 30, 2020 1 hour ago, Luddite said: Belated thank you to multicolor. This is exactly what I'm looking for. But if I understand it correctly, the Finder window has to be the frontmost app for the AppleScript to work, right? Still, this is better than having 10 windows open 😫. Hi, Glad this is still of use to you, almost 5 years later! Yup, as far as I can see from here that was the intended behavior. I just made another version which forces the tab to open in an already open Finder window even if Finder is not focused, which I guess is what you wanted? Get it here. Keyword "ioio". Luddite 1
Luddite Posted March 31, 2020 Posted March 31, 2020 (edited) On 3/30/2020 at 8:00 PM, multicolor said: Hi, Glad this is still of use to you, almost 5 years later! Yup, as far as I can see from here that was the intended behavior. I just made another version which forces the tab to open in an already open Finder window even if Finder is not focused, which I guess is what you wanted? Get it here. Keyword "ioio". Thank you. This works like magic. This is why I never wish to use other people's computers. Edited March 31, 2020 by Luddite multicolor 1
Joel a Posted March 17, 2021 Posted March 17, 2021 It seems as though the best option is baked in: System Preferences > General > Prefer tabs "always" when opening documents. 40-02 and IAmNotARobot 2
polen Posted June 9, 2021 Posted June 9, 2021 On 3/30/2020 at 9:00 AM, multicolor said: Hi, Glad this is still of use to you, almost 5 years later! Yup, as far as I can see from here that was the intended behavior. I just made another version which forces the tab to open in an already open Finder window even if Finder is not focused, which I guess is what you wanted? Get it here. Keyword "ioio". I've been tinkering with your workflow in an attempt to do something somewhat different but I haven't been successful. It doesn't help I have no scripting skills and Alfred seems daunting to me. My goal is to use a workflow to open a new Finder window with a bunch of tabs. I use different sets of folders for specific tasks (one set of tabs on a window for this, another set of tabs on another window for that) and it'd be great to be able to launch them as needed. Normally I end up having multiple windows with multiple tabs all the time and all mixed up, instead of, say, two windows with the desired group of tabs on each. Any guidance you can provide (or a workflow if you feel charitable)? I thought I could create a workflow that opened a new Finder window and then use your script to open several other tabs in the same window, but I cannot make it work. And wasn't trying anything sophisticated, rather one workflow per group of tabs where I could manually add, remove or change the paths if my needs changed (or to duplicate if I need another set of tabs). I thought hey, I'll use variables to be used by the script but cannot make that work either. I am at a loss and feeling helpless while I have a tool that I am positive can do what I want but that I can still cannot figure out. Help!!! Thanks
Joel a Posted June 9, 2021 Posted June 9, 2021 Sounds like your best bet is Brett Terpstra's "Bunch" app, which is donation-ware, very powerful, and has an Alfread workflow integration, if you like: https://bunchapp.co
IAmNotARobot Posted November 5, 2021 Posted November 5, 2021 On 3/17/2021 at 6:30 PM, Joel a said: It seems as though the best option is baked in: System Preferences > General > Prefer tabs "always" when opening documents. Thanks for this pointer, this gave me exactly what I was after.
40-02 Posted December 17, 2021 Posted December 17, 2021 On 3/17/2021 at 3:30 PM, Joel a said: It seems as though the best option is baked in: System Preferences > General > Prefer tabs "always" when opening documents. Yes! This is the solution! Thanks a lot!
brank87 Posted October 22 Posted October 22 On 3/17/2021 at 8:30 AM, Joel a said: It seems as though the best option is baked in: System Preferences > General > Prefer tabs "always" when opening documents. OMG it's been years of using an annoying workflow to "merge" my finder tags when it gets too much... and this was right there natively 😱 So happy I came here. Thanks for this @Joel a
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now