• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Auto Mount Server with Apple Script (Beginner Here)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Auto Mount Server with Apple Script (Beginner Here)


  • Subject: Re: Auto Mount Server with Apple Script (Beginner Here)
  • From: Simon Forster <email@hidden>
  • Date: Wed, 2 Mar 2005 09:40:40 +0000

tell application "Finder" to mount volume "afp://<username>:<password>@<remote machine>/<volume to mount>"

So an example would be:

tell application "Finder" to mount volume "afp://fred:email@hidden/Macintosh HD"

Save as run only script.

You could also look at using .afploc files.

HTH

Simon Forster
_____________________________________________________
 LDML Ltd, 62 Pall Mall, London, SW1Y 5HZ, UK
 Tel: +44 (0)870 1999 780   Fax: +44 (0)70 9230 5247
_____________________________________________________


On 2 Mar 2005, at 03:29, Doug Melillo wrote:

Hello all,


I'm looking for a little help to make a script that can automatically mount a network server.  (I'm very new to Apple Scripts and I'm learning so please keep that in mind)


Here are some of the requirements that I need:


1. The Drive mounts on the desktop but does not open. 2. I don't want the dialog box to open with the User ID and Password showing.


I would basically like a way that the script could run and mount the drive with little or not response from the user. This set up is in a school so you can see why I have some concerns above.  Any help would greatly be appreciated.


Sincerely,


Doug Melillo
GCDS Technology
203.863.5633
email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
email@hidden


This email sent to email@hidden

_______________________________________________ Do not post admin requests to the list. They will be ignored. Applescript-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: Auto Mount Server with Apple Script (Beginner Here)
      • From: "John C. Welch" <email@hidden>
    • Re: Auto Mount Server with Apple Script (Beginner Here)
      • From: Adam Wuellner <email@hidden>
References: 
 >Auto Mount Server with Apple Script (Beginner Here) (From: Doug Melillo <email@hidden>)

  • Prev by Date: Auto Mount Server with Apple Script (Beginner Here)
  • Next by Date: Why does this filter expression not work? Anyone have an idea?
  • Previous by thread: Auto Mount Server with Apple Script (Beginner Here)
  • Next by thread: Re: Auto Mount Server with Apple Script (Beginner Here)
  • Index(es):
    • Date
    • Thread