dslreports logo
 
    All Forums Hot Topics Gallery
spc
Search similar:


uniqs
1153

Nezmo
The name's Bond. James Bond.
MVM
join:2004-11-10
Coppell, TX

Nezmo

MVM

[OS X] Prevent Finder Opening on Boot?

I have a NAS mapping in my login items that causes Finder to open on boot. I realize this is intended behavior but wondered if this can be suppressed? I've asked in the past so just curious if anything has changed with Yosemite or if there's something under the hood that can be tweaked.

Thx

HiVolt
Premium Member
join:2000-12-28
Toronto, ON

HiVolt

Premium Member

This has always been a major annoyance in OS X. I remember having an apple script to close them but its been a while i lost it.

Merak75
AKA "Vukodlak75"
MVM
join:2001-10-27
Willoughby, OH

2 recommendations

Merak75 to Nezmo

MVM

to Nezmo
I put the following in script editor then exported as Application. Then put that application in my log in items. Network drive mounts and NO Finder window opens.
Just change the path to your network folder.


tell application "Finder"
mount volume "afp://nas-01 (AFP)._afpovertcp._tcp.local/backup/Downloads"
end tell

Nezmo
The name's Bond. James Bond.
MVM
join:2004-11-10
Coppell, TX

Nezmo

MVM

said by Merak75:

I put the following in script editor then exported as Application. Then put that application in my log in items. Network drive mounts and NO Finder window opens.
Just change the path to your network folder.


tell application "Finder"
mount volume "afp://nas-01 (AFP)._afpovertcp._tcp.local/backup/Downloads"
end tell

Thanks. I'll give that a try. I've not done scripting on the Mac before.
Nezmo

Nezmo to Merak75

MVM

to Merak75
Worked like a dream. Thanks Again.

HiVolt
Premium Member
join:2000-12-28
Toronto, ON

HiVolt to Merak75

Premium Member

to Merak75
Yeah thats what it was. Thanks!
Daemon
Premium Member
join:2003-06-29
Washington, DC

1 recommendation

Daemon to Nezmo

Premium Member

to Nezmo
FWIW, you can also use the /mounts section of the local directory in DirectoryEditor.app to create auto-mounted network locations that don't spawn a finder windows. They mount prior to login, too, so you can store home folders on them.

Nezmo
The name's Bond. James Bond.
MVM
join:2004-11-10
Coppell, TX

Nezmo

MVM

said by Daemon:

FWIW, you can also use the /mounts section of the local directory in DirectoryEditor.app to create auto-mounted network locations that don't spawn a finder windows. They mount prior to login, too, so you can store home folders on them.

Thanks!

rjackal
Premium Member
join:2002-07-09
Plymouth, MI

1 recommendation

rjackal to Daemon

Premium Member

to Daemon
said by Daemon:

FWIW, you can also use the /mounts section of the local directory in DirectoryEditor.app to create auto-mounted network locations that don't spawn a finder windows. They mount prior to login, too, so you can store home folders on them.

For completeness, and for those who are braver than I:
Directory Editor is part of Directory Utility.
In OS X 10.6 to 10.9, Directory Utility is in the /System/Library/CoreServices/

In 10.10 it's in /System/Library/CoreServices/Applications

It's not very user-friendly, though. From the help file:

WARNING: Changing raw data in a directory can have unexpected and undesirable consequences. You could inadvertently incapacitate users or computers, or you could unintentionally authorize users to access more resources.