Go Back   The macosxhints Forums > OS X Help Requests > Networking



Reply
 
Thread Tools Rate Thread Display Modes
Old 05-29-2002, 03:16 PM   #1
abdawg
Prospect
 
Join Date: May 2002
Posts: 21
Automatic mounting of Network share upon login

Hey guys, playing around with Applescript. I would like to write a small script that will automatically connect me to my networks shares after I login. any info would be greatly appreciated.

TIA
abdawg is offline   Reply With Quote
Old 05-29-2002, 04:50 PM   #2
Craig R. Arko
Site Admin
 
Join Date: Dec 2001
Location: Minneapolis, MN
Posts: 3,988
Take a look at this hint on the main OSX Hints site, and the other one it refers to as well, as a place to start.
Craig R. Arko is online now   Reply With Quote
Old 06-02-2002, 12:00 AM   #3
RichB
Triple-A Player
 
Join Date: Jan 2002
Location: Colorado
Posts: 115
AppleScript or Location File

If you want to mount a volume in AppleScript instead of the Location Files as mentioned above you can create a script using the "mount volume" command. The script can then be saved to the hard drive and put in the Login Items if desired. Here's the format for the script:

mount volume "afp://username:password@server.domain.com/volume"

It also works with the multiple variations: afp:/at/...; smb://... etc.

Last edited by RichB; 06-02-2002 at 05:04 PM.
RichB is offline   Reply With Quote
Old 06-11-2002, 07:44 AM   #4
Craig R. Arko
Site Admin
 
Join Date: Dec 2001
Location: Minneapolis, MN
Posts: 3,988
Here is the mothership's method.

Pretty much, put an alias in Login Items. AFP only.
Craig R. Arko is online now   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT -5. The time now is 07:41 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.
Site design © IDG Consumer & SMB; individuals retain copyright of their postings
but consent to the possible use of their material in other areas of IDG Consumer & SMB.