• 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
Mount AFP volume and if/or cases
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Mount AFP volume and if/or cases


  • Subject: Mount AFP volume and if/or cases
  • From: "ozura chandra" <email@hidden>
  • Date: Wed, 13 Sep 2006 21:29:27 -0700

Hi, everyone

I'm new to applescript, so I'm hoping this question is obvious to some of you.
I wrote an applescript to mount an AFP before, but now i want to modify it with different subfolders.
This is my code:

Tell application "Finder"
      activate
      try
           mount volume afp://username:pw@server_ip/department/finance
      on error
           display dialog "Login error!"
           return
     end try

What command do I use if I want to add different cases such as:
mount volume afp://username:pw@server_ip/department/IT
or mount volume afp://username:pw@server_ip/department/business

Thank you very much for your advice,
 _______________________________________________
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: Mount AFP volume and if/or cases
      • From: Peter Waibel <email@hidden>
  • Prev by Date: Re: Importing/parsing CSV files
  • Next by Date: Re: Modifying Pitch Shift in QuickTime Player (was: no subject)
  • Previous by thread: Re: convert command ignoring reference list in iTunes 7.0
  • Next by thread: Re: Mount AFP volume and if/or cases
  • Index(es):
    • Date
    • Thread