Using Automator to mount other computer's drives on desktop

Discussion in 'Mac Apps and Mac App Store' started by swindmill, May 28, 2005.

  1. swindmill macrumors 6502a

    swindmill

    Joined:
    Mar 17, 2005
    Location:
    KY
    #1
    I'd like to make a Finder shortcut that uses automator to mount the shared folders from other computers in my LAN on my desktop. I get tired of opening Finder/network/workgroup/computer --> mount.

    I've messed around with Automator but I haven't been able to make this work.
     
  2. freiheit macrumors 6502a

    Joined:
    Jul 20, 2004
    Location:
    California
    #2
    That would be pretty sweet

    I, too, would like to be able to do this, but more importantly to be able to run this Automator script at every startup. If anyone's got ideas how, please let us know. Thanks!
     
  3. freiheit macrumors 6502a

    Joined:
    Jul 20, 2004
    Location:
    California
    #3
    On the networking side, I've gotten as far as creating an Automator workflow that connects to my PC and prompts me for which shared drive to mount -- but this is the part that I want to automate during system startup. I can't find any way in Automator to reference the shared drive itself.
     
  4. live4ever macrumors 6502a

    Joined:
    Aug 13, 2003
    Location:
    Thunder Bay, ON
    #4
  5. freiheit macrumors 6502a

    Joined:
    Jul 20, 2004
    Location:
    California
    #5
    Success!!

    Thanks for that, but after a bit more tweaking (and a look at an old post at macosxhints.com) I figured it out.

    1) Start Automator
    2) Under "Library" click on "Finder"
    3) Under "Action" drag "Get Specified Servers" to the workflow
    4) Click the + (add) and select your workgroup name
    5) In the dropdown list for "Show" select "File Servers"
    6) In the middle column, select the server (the other computer that you want to connect to)
    7) Down in the field for Address, just add a slash (/) and the name of the shared folder to the end of the address already shown.

    This works for me at least for connecting to a Windows 2000 shared drive. You can then save this workflow and (I suspect -- I haven't had time to try this yet) add it to your user login options so it runs every time you boot the computer.
     
  6. swindmill thread starter macrumors 6502a

    swindmill

    Joined:
    Mar 17, 2005
    Location:
    KY
    #6
    I couldn't get this to work. The workflow runs fine, but nothing happens. If anyone has any tips, please share.
     
  7. bzollinger macrumors 6502a

    bzollinger

    Joined:
    Aug 1, 2005
    #7
    I couldn't get this to work either. It's logical and seems like it should work.....Anyone???

    Thanks,
    Ben
     
  8. freiheit macrumors 6502a

    Joined:
    Jul 20, 2004
    Location:
    California
    #8
    This should work -- step 8

    Hmm, I missed the final step. After you've setup the "Get Specified Servers" action then also add "Connect to Servers" as the second action in the workflow.
     
  9. bzollinger macrumors 6502a

    bzollinger

    Joined:
    Aug 1, 2005
    #9
    I finally got this to work by using the "accounts" under preferences, and I dropped the SMB alias in the "login items" area. Now the shares map at login.
     
  10. topicolo macrumors 68000

    topicolo

    Joined:
    Jun 4, 2002
    Location:
    Ottawa, ON
    #10
    How about skipping all of that and just making an alias to the remote computer's shares and putting them on your desktop? The mac will automatically mount the shares when you double click on the aliases pointing to them. Works for me
     

Share This Page