Separate names with a comma.
Discussion in 'macOS' started by 4now, May 30, 2008.
Is there a setting that will launch a new finder window whenever the finder dock icon is selected?
You should just have to click it.
Maybe you need a reboot?
I think the OP means that a new Finder window should be opened, even if one is already open, right?
what I mean
is that if a finder window is already open
then it will come into focus when the dock icon is selected
but I want a separate finder window to launch every time the icon is selected
usually I need to right click the icon and select 'new finder window'
I just made this "application" with Script Editor, just place it in your dock, and give it a nice icon, maybe from Interfacelift or a similar site:
I think adding the bits in bold will be better, this way it won't throw an big confusing error if it fails and also the Finder will be the active application at the end with the window at the front. Just my thoughts.
is there a line I can add to make it open to my user's 'Documents' folder by default?
This should work
That works great! thanks a lot
sorry I'm still new to the mac platform
after I've entered the script into script editor
how do I save it as an .app
1. What's so hard about Command-N? Can do it faster than mousing over and click something.
2. Go into Finder Preferences, and set:
"New Finder windows open:" to documents
thanks but i'd prefer the button
oo i've been wanting the same thing too, thanks for posting this!
Is there a way to make the default window a certain size too?
File - Save - Select Application Bundle (makes it universal) and uncheck startup screen if already selected.
Play around with the values to make it how big you want and where abouts on the screen
Not the prettiest as it will create the window then make the size and position of the window but it happens very quickly indeed and I don't have the time now to figure it out.
Hi - Just noticed this doesn't open a 'new finder window'
can the script be adjusted somehow
I tried everything I could think of
Strange does it on mine any how is this better
I get a syntax Error
Expected given, with, without, other parameter name, etc. but found class name.
no it doesn't open a new finder window whenever the app is clicked
tell application "Finder"
make new Finder window at front
activate application "Finder"
opened a new window every time
Where does it highlight in the script when it says that.
What exactly do you mean by "this doesn't open a 'new finder window'"
The second script is semi borked but the try should remove that part. It works fine here.
Here is the first script that I posted and works fine here unless I am misunderstanding how you want it to work
Ok read your latest posting, problem is (as far as I am aware) if there is a window already open with that folder then the script will just refer to that window.
The easy way to get around that is to just set the Finder preferences to open your Documents window by default then the script that you quoted will work. To do that go to Finder - Preferences - General - New Finder Window Opens - Then select where you want
when I select the button (script.app) from the dock
finder opens - to documents
but if I click the dock button again I do not get a second finder window
instead it reloads into the finder window that is already open
but the first script you made 'make new Finder window at front' opened a separate window every time
just not to 'documents'
test.app opens only once - thanks
I already tried that
I thought that would work too - but it didn't
it won't open to 'documents' even though it has been selected in preferences
oh well - thanks for your efforts