How do I hide Finder windows of Network Shares at login?

I am using an Intel Mac mini CD to connect to Samba sharepoints on a PowerMac 2x2 that runs OS X Server Tiger. I have added the sharepoints to the login items so that at login my user is automatically connected to the sharepoints and has access to those sharepoints relevant to his needs.
My problem is, every login results in 5 separate Finder windows opening, one for each sharepoint. These then have to be manually closed, which defeats my argument to users that Macs give higher productivity than Windows.
I have tried ticking "hide" in the prefs, but this has absolutely no effect whatsoever, probably because I would have to hide Finder at login and that seems not to be possible (I doubt if it would work anyway since I can't get "Hide" to work for any app, but that's not this issue).
How do I have the sharepoints connect without opening any Finder windows? They need to be visible in a Finder sidebar when manually opened, and on the desktop, but they must not open automatically.
TIA

That was very helpful, thanks. In actual fact I could remove the delay line completely because the Apple Script did not run until after all the sharepoints had loaded.
This was probably because the sharepoints were entered into the login items first and appear above the Apple Script which is the last entry in the login list. I expect the login items are being treated by OS X as a sequential list - Job 1 is started and completed, then Job 2 is started and completed and so on until Job 'n' has finished, then the list stops.
For me, this means Jobs 1 - 5 are "Mount Sharepoint" jobs, with Job 6 being "Run the Apple Script". Since the Finder windows have already finished opening, I do not need a delay to close them.
Many thanks for showing me Apple Script isn't so difficult to use! I really appreciate that. I really must read that book I bought on it a year ago!
It would be nice to know how not to have Finder open the windows in the first place though.
Thanks again.

Similar Messages

  • How can I make OSX index a network share for spotlight?

    How can I make OSX index a network share for spotlight?
    I am using a QNAP NAS with SMB network shares, which I mount with OS X Mavericks. They are not searchable, as far as I know because of the indexing of network share is by default not activated.
    To force the OS to index them I activated this via mdutils. But this is no solutions. This makes spotlight to index the share once. But I want spotlight to index it always and keep it up to date. I have a huge amount of documents & fotographs, which is very difficult to manage without being searchable.
    Unfortunately the only solution I found in the www was the mdutils-way, which seems not to work, maybe only works not for me.
    I would appreciate any assistance,
    Thank you,
    Stefan

    My thanks to everyone who has contributed to solving this problem here.
    It appears that there still is NOT a good, reliable solution.  Please correct me if I'm wrong.
    I did find this on http://jonathansblog.co.uk/how-to-enable-spotlight-indexing-on-a-network-drive:
    ===================================
    To enable spotlight indexing on a network drive:
    # mdutil /Volumes/name -i on
    To disable the indexing of a connected network drive:
    # mdutil /Volumes/name -i off
    To check the status of indexing on a connected network drive:
    # mdutil /Volumes/name -s
    ===================================
    And, I found this on the Synology NAS forums:
    cd /Volumes
    mdutil shareName -i on
    mdimport -Vp ./shareName
    where shareName = name of your share
    I have used the mdutil /Volumes/name -i on, and it seems to work.
    But, if I understand it correctly, it is a one-time indexing -- the index is NOT keep up-to-date with changes.
    So, how can we keep the index up-to-date?
    My thought was to schedule a Terminal file to execute each night with the mdutil code.
    Would this work?  If so, how would you setup a scheduled run?
    Would it have to be done on each Mac that accesses the Share?

  • How do I hide ALL windows using apple H?  The final window stays open.

    When I press apple-H it hides the windows except the last one.  To hide that one I have to click on the desktop, then back to the window, then press apple H again to hide it. 
    Is this an intentional function of Mac's operating system?  Seems awkward, and it's certainly annoying as I have to access the desktop many times during my work day.  I realize I can press F11 and get the desktop, but that merely pushes windows to the side and when I open something new they come back on screen and interrupt my workflow.
    I would like to be able to press apple-H multiple times (or a different shortcut) until I reach a clean and clear desktop.  So if I have 3 applications open, I want to press apple-H 3 times and to reach the desktop.  When I open a folder, I don't want the windows that were pushed aside to slide on screen blocking my workflow.

    Why not use multiple desktops?
    I have 5 desktops being used. Desktop 1 is my "working" desktop where I open/close apps/windows a lot. While I keep Calendar on desktop 2, full screen. Mail on 3 at full screen, iTunes on 4 full screen and Stickies, Reminders and Notes on desktop 5.
    As I typed this, I tested it out. I opened Messages along with Safari (obviously) on my desktop 1. I then pressed Command H twice. Both Messages and Safari disappeared leaving me with a clean desktop. But it left all my other desktops alone and left each of the apps/windows opened on their desktops. I think this would be a great solution for you as you can leave apps/windows opened on other desktops with out having to disrupt your work flow on your main desktop.
    You can also assign an app to open just on one particular desktop. As with me, I have all of those apps to open at start up. But on that desktop that it's assigned to. Example I opened Calendar on desktop 2. Then I right clicked the App in the Dock, scrolled to Options then selected "Assign to This Desktop". And so on with the remaining desktops and apps.
    To move between desktops, since you have a Trackpad, just swipe back and forth with four fingers. Or if you are on desktop 1 and want to get to find quickly. You can either click on the app that is assigned to desktop 5, in my case Notes, Stickies or Reminders. Or you can 4-finger swipe up then select desktop 5.
    KOT

  • How do I get Finder windows to display free space on hard drive?

    In Snow Leopard if you opened a Finder window, at the bottom it would show how much free space your hard drive had left.  Lion by default does not do this.  Is there a way where I can turn that option on so i can view space availible when opening Finder windows?

    Stop blaming yourself. You're not an idiot and it's never the user's fault. It's always the designer's fault. Read "The Design of Everyday Things' by Donald Norman. It's a gerat book about how everyday things can be just difficult to use. He's been also a former Apple employee. Great reading!

  • Finder window's "Network" icon has a name bug in French localized version

    In Mac OS X Tiger (and previous versions already), when running in French localized, the "Network" icon on the left side of Finder window is translated "Réseau". This is correct.
    When no network is available (no cable connected to the Ethernet port for instance), then "Réseau" turns into the english name "Network". When the network is again connected, then "Network" turns back into the French localized name "Réseau".

    653/3099
    Hi Frederic,
    Thank you for this one, but we all are simple Mac users here.
    Please send your feedback here instead:
    - http://www.apple.com/macosx/feedback/
    Thanks again.
    Axl

  • How do I make Finder windows always open in new windows?

    Subject says it all - there used to be a preference for this in Finder's preferences, but it was apparently removed from Mavericks. I'm getting tired of having to right-click to open each new folder, and I adamantly refuse to allow a Finder window to represent anything more than one folder.

    The default behaviour in Mavericks is to open folders in a new tab in an existing window, however this can be changed.
    Unfortunately, it's not that simple. There's a very long topic on this change in Mavericks. Currently, there are only two ways to get Mavericks to do what the OP is looking for. That is, to have nested folders open in their own folder window instead of taking over the same open window when you double click it.
    1) Hold down the option key while double clicking the folder.
    2). If you hide all of the extraneous stuff (top and side bars) by pressing Command+Option+T, then nested folders will automatically open in their own folder window without having to hold any modifier key down. But the bars must be hidden on every subfolder in order for that work. Any folder with either the top bar, side bar or both showing will always open the nested folder in the same folder window instead of spawning its own.

  • How do I manage Finder windows in Lion?

    Finder windows are disappearing. How do  I control them ?

    There seems to be some quirks with finder when assigned to all desktops.  Right click the finder icon on the dock and select options > assign to none.  If this option isn't present, add a second desktop in mission control and it will appear.
    Regards,
    Captfred

  • How to make the finder window expand to full height AND width of my screen, but not "full screen mode".

    The new green button on the finder window makes the screen go into full screen takeover mode - alt clicking this makes it 100% height of the screen.
    How can I make this 100% width and height (just like it used to be in Mavericks)?
    I have 2 x 27" monitors, so the "full screen takeover" mode is not right as I only want the finder window to be on one monitor whilst I work on another.
    Any ideas?! Thank you!

    Was about to post the same question.
    Ever since I upgraded to Yosemite (about a month ago), this odd behavior has irked me.
    Could it be that it only plagues those of us running dual displays? And therefore nobody else cares?

  • How to change Default Finder Windows Size?

    Hi all:
    New Finder windows show Macintosh HD and there is no problem in keeping the size or view options every time I open a new window (command + N).
    I can change "New Finder windows show" to another folder and works just as well.
    But when I open a folder in a new window (double click on an icon folder) the size of the window is very small and different from the window displayed by using command + N.
    Finder saves and applies default view options to all windows without a problem, but not the default size or in other words: 
    default windows size is different from new finder windows size.
    In Snow Leopard I could change default size of all windows holding down the Shift key while dragging and changing the size but in Mountain Lion it does not work.
    I have also deleted all files .DS_Store but neither works.
    I searched a lot but can not find a solution to this problem.
    Thanks.

    As far as New Finder Windows (command+N) are concerned, there's no problem.
    All other folder's Finder Windows I have not modified manually are displayed with the default size shown in the attached image. That is the window size that I want to modify.
    Thanks.

  • How to auto close finder window after drag and drop?

    In Tiger, I would file away items on my desktop my dragging them to the hard drive and then digging down to the appropriate folder. The finder window would then close automatically after dropping the file. Is there a setting in Snow Leopard that will enable similar functionality? Whenever I complete a drag and drop now the finder window just stays open, which isn't a huge issue, but I'd still like to change it. Thanks!

    Here is the test code:
         lo_nd_table_data_source = wd_context->get_child_node( name = wd_this->wdctx_table_data_source ).
          lo_nd_table_data_source->get_static_attributes_table( IMPORTING table = lt_table_data_source ).
          "Read Dummy Table
          lo_nd_table_data_source->get_static_attributes_table( IMPORTING table = it_table_data_source ).
        CONCATENATE ls_airline_info-carrid ls_airline_info-connid ls_airline_info-fldate INTO ls_table_data_source-row_key.
          ls_table_data_source-parent_row_key = ls_airline_info-carrid.
          ls_table_data_source-is_leaf   = abap_false.
          ls_table_data_source-expanded  = abap_true.
            SELECT * FROM sflight INTO CORRESPONDING FIELDS OF TABLE it_table_data_source.
         LOOP AT it_table_data_source INTO wa_table_data_source WHERE carrid = ls_airline_info-carrid
                                                                and   connid = ls_airline_info-connid
                                                                and   fldate = ls_airline_info-fldate.
          ls_table_data_source-connid    = ls_airline_info-connid.
          ls_table_data_source-fldate    = ls_airline_info-fldate.
          ls_table_data_source-PRICE     = wa_table_data_source-PRICE.
          ls_table_data_source-CURRENCY  = wa_table_data_source-CURRENCY.
          "Select all data to the new dummy table structure.
          "Move one row of the table to ls_table_data_cource correspondingle.
          APPEND ls_table_data_source TO lt_table_data_source.
          DELETE ADJACENT DUPLICATES FROM lt_table_data_source.
       ENDLOOP.
          lo_nd_table_data_source->invalidate( ). "Clear the table data
          lo_nd_table_data_source->bind_table( lt_table_data_source ). "Refresh new data
    Thanks,
    Kiran

  • How do I get Finder windows to hold their settings?

    Reading in other discussions, I see some folks are having problems with desktop icons moving around. My desktop icons are fine and stay put, but my Finder windows continually rearrange themselves to whatever random design Lion wants to give them.
    They will not retain size, toolbar on / off, arrange by / sort by, icon size or grid spacing etc. For a while I thought I had the problem sorted by leaving the main User window open when I shut down at night, but this 'solution' didn't hold either.
    I have worked my way through the View options, tried resetting defaults etc etc, but either there's nothing I can do about it (bug?) or I am missing something simple.
    Any thoughts would be appreciated. TIA

    I have this problem too, and it's maddening.  My latest effort fo fix it has been to make .DS_Store read only using the Terminal.  This will work for directories that you never alter; I did it to my home directory.  If you do it to directories that change, the results will be undefined, because the Finder will be unable to write changes to the .DS_Store file reflecting the position of the new files.
    To do this, open Terminal in /Applications/Utilities, and then type:
    cd "/Path/to/directory/to/fix"
    Replace the path with the folder you need to fix.  If you're not sure what it is, you can just type "cd " (without the quotes, but note the space after the letters 'cd') and then drag the folder you want to fix onto the Terminal window.  Then press return.
    Now, type:
    chmod 444 .DS_Store
    Make sure you include the period at the beginning of the .DS_Store name.  Press return.  This will effectively lock the .DS_Store file and prevent the Finder from screwing it up.  Your icon positions and window settings will be fixed in place until you make the .DS_Store file writable again.  To do that, repeat Step 1 above, and change Step 2 as follows:
    chmod 644 .DS_Store
    That will return the .DS_Store file to its original state and undo the changes you made.
    I have tested this only on my home directory, which never changes.  Doing this to directories to which files are added and removed will result in undefined behavior.  It will not damage your computer or your files, but Finder windows for that directory will not behave in a predictable fashion.

  • How do I hide a windows icon

    in Oracle 10g I want to hide the icon image of the windows.
    I want the windows shows only the title bar not the icon.
    Anyone can help me.
    Yeahia

    Actually I want to hide the windows icon which is top left corner of the windows. even when i hide the close,maximize,minimize,resize,move etc. everything set=no then also windows icon is visible. i want to hide the icon.
    Yeahia

  • How do I hide the Windows (XP HOME) taskbar on the left edge of my screen?

    While I am in Firefox; I would like to hide the Windows taskbar on the left hand side of the screen, so that it appears when 'touched' by the cursor.

    You can move the taskbar to top, bottom, left or right edge of your monitor as the TonyE and cor-el suggest, when it is not locked (right-click on a blank spot in the task bar; a check mark next to "Lock the taskbar" indicates it is locked; toggle locked to unlocked by clicking on "Lock the taskbar").
    You can have the taskbar automatically hide, by right-clicking the "Start" button, click "Properties", click the Taskbar tab, place a check mark (click) "Auto-hide the taskbar" (note, no need to unlock taskbar to change this option). When you move the cursor to the position of the taskbar (left, right, top, bottom of the monitor) the taskbar will slide/pop into view; when you move the cursor away, the taskbar will again auto-hide. '''<u>The option is all or none, there is no option to hide it only when surfing the internet.</u>''' You can turn the taskbar back on (to always display) by un-checking the "Auto-hide the taskbar" option.
    See: http://www.coolnerds.com/XP/Taskbar/xpTaskbar.htm (see the "Setting Taskbar Options" section for auto-hide and other options)

  • How to keep default Finder window size and location from Mac server

    Working in an office of three people.  Mac mini server (not sure of the OS; I think it's Snow Leopard).  We each use iMacs with Mavericks.  I have my default new Finder window set to open "customers" folder, which resides on the server, in a specific orientation.  If either of my co-workers opens "customers" and resizes that window on their machines, it retains that size & location when I open it again on my machine (as I'm sure it does to them after I "fix" my own window).
    Is there any way to change this so that one's own machine will remember the window prefs?  I mean, we're not opening on the server itself, so in my mind it should not retain the last open position, right?
    I know I could set my default folder to Home, then go to customers from the sidebar, but that almost defeats the purpose of the default folder.
    thanks in advance!!

    Hey Macdaddy,
    This happens all the time with our server at work. The server window never opens in the same place twice, and it can be annoying.
    There are third-party window management tools out there, but what I did was use a macro program called Keyboard Maestro (since I already owned it).
    Among the many things Keyboard Maestro can do is manipulate a window. I created a macro that moves it to a specific point (in my case, the upper left corner of the screen) and then resizes it to a specific width and height in pixels. I then assigned the macro a keyboard shortcut.
    Now, when I mount the server, I can use the keyboard shortcut and the window is right where I want it.
    There are other programs that just move windows, and I tried a couple. But Keyboard Maestro is more elegant in my opinion, and it does a whole lot more if you choose to go that route.
    Hope this helps.
    Andy

  • How to get "fast user switching" and network shares playing nice

    I've been alternating between banging my head against a wall and reading every forum I could find to try and get a reasonable compromise between using "Fast user switching" and sharing a folder from a file server.  It baffles me how the network share/mount model of OSX/AFP is completely killed by fast-user-switching; this is a big problem with Apple requiring users to be actively logged in to share music/video from iTunes which therefore essentially requires fast-user-switching if anyone else wants to use the computer.  (anyone find it odd that you can share files without being logged in, but sharing songs requires an active login for each user who is sharing?  Apple: time to make iTunes sharing a service!)
    For the sake of example, lets just say I want to share my /Groups folder from my desktop and have it be accessible to my laptop.  Here are all the things that I tried:
    Apple Method 1) Share /Groups in the Server.app on the desktop (running Lion Server), use finder on the laptop and drag the share icon to "Login Items", alternative use a startup Apple script using "mount volume"  Both of the options work and will mount the /Groups folder under /Volumes/Groups, of course when the second person logs in via fast-user-switching (and occasionally the first person for no apparent reason), they will get /Volumes/Groups-1 since /Volumes/Groups is already taken.  Tomorrow we log in a different order and now the previously /Volumes/Groups-1 user has their mount at /Volumes/Group and vice versa.  Any links, aliases, finder sidebar references, and application settings which pointed to yesterday's location are now BROKEN.  Not very user friendly to my mother-in-law who is trying to find those pictures of the kids and doesn't know anything about mount points. I also can't reasonably mirror the file location structure on the desktop so that application preferences that are synced between the two (portable home directories) work.   fail.
    Apple Method 2) Use automounter and set up by hand direct maps for /Groups or an indirect maps for the children of /Groups.  Now it will automatically get mounted to /network/servers/SERVER/Groups/ on the laptop and on the desktop it will automatically create a similar symlink structure so that the same path (/network/servers/SERVER/Groups) work both on desktop and laptop.  Cool.  Except when the second person logs in, the /network/servers/SERVER/Groups/ mountpoint is already owned by the first user and they don't have any permissions to access it.  Fail.
    Apple Method 3) Use mount_afs and specify directly the mount-points.  Have each user have their own startup AppleScript which mounts /Groups to a different location (e.g. /Users/Shared/username/Groups) that way they don't conflict with multiple users.  On the desktop, set up symlinks from /Users/Shared/username/Group to /Groups so that it will be the same as the client and applications settings will work when synchronized back/forth by portable-home-directories.  Will it work, yes it does, but what a bear to maintain.  Is this really what I should expect to do just to have multiple users on my desktop and laptop (which again is essentially required now if I want to do any type of iTunes sharing).  This can't be what apple expects.
    What I ended up doing - the "not quite apple" solution.
    Non-Apple Method 4) After a read of "Autofs: Automatically Mounting Network File Shares in Mac OS X" (http://images.apple.com/business/docs/Autofs.pdf) at the very end there is a single paragraph  of "Kerberized NFS": "A Kerberized NFS mount can have multiple connections from multiple users, each using the correct user’s credentials for each transaction. This allows administrators to support multiple users, each authenticated with their own credentials to the same mount point. This is very different from AFP and SMB mounts," (emphasis mine)
    It appears that by using good 'ole NFS (abeint with Kerberos for security!) you can actually have multiple users on the same mount point.  Roughly following the guidance at https://support.apple.com/kb/TA24986?viewlocale=en_US.  What I needed to do was:
    1) create /etc/exports on my desktop and add a single line "/Groups -sec=krb5".  The existence of /etc/exports triggered a start of nfsd which no longer has any GUI options in Lion.
    2) Add a line to /etc/auto_master on my laptop "/-  auto_mymounts" to reference a new direct map.
    3) Create /etc/auto_mymounts and add a single line "/Groups         SERVER:/Groups" to create the direct map.
    THAT'S IT.  Three lines in three files.
    Now when I log into my laptop, there is a /Groups that is a network mount of my desktop's /Groups, same location AND it works for all of my users, even simultaneously. 
    In the end I'm happy with what I've got, but man was this a difficult path just to support fast-user-switching.  In Lion, Apple appears to be getting away from NFS (no longer turned on by default and remove from the GUI controls) but clearly this really useful functionality which doesn't exist in AFP. 
    I'm really curious, after all this work.  Any other ways to accomplish this?

    In my example above, yes I chose to mount the share "Groups" to the top of the root since that is where I put it on my server and I wanted to keep them similar; but that was just my preference, it isn't a requirement.  You can export and mount from other directories.

Maybe you are looking for

  • Saving fillable form fields to be created as a template

    Hi, I'm hoping someone can tell me if Adobe Acrobat Pro 8/9/10 has the option to save all Fillable Data fields such as Text Fields, Check Boxes, Signatures, Dates ect. and save these data elements to be imported onto similar or exact PDF Layouts so t

  • IDM Date Transformation Question

    Hello, I have a colunm in a Oracle database with a date format : DD/MM/YY. But when I synchronize or reconcile this resource with IDM, the date value is transform to this format YYYY-MM-DD HH:MM:SS.s in IDM. How and where the transformation is realiz

  • Create online presentation

    Hello! I am rather new to flash, but I purchased it in a suite just to get the dreamweaver and fireworks some time ago. My question is, if it is possible to create a power-pointlike presentations (I E text-based), and add some audio to it, in flash?

  • Vista sync issue

    I have video ipod and i have one comp with xp and one with vista each have library and the vista has songs that xp does not so i try to sink it but it gives me an error and i tried second time it shutdown the computer. wut is casueing this. i did upd

  • One line code !!!! just tell the output and why it is so ??

    #include<stdio.h> int main()      printf("%d") ; OR #include<stdio.h> int main()      printf("%f") ; }