RE: Applescript mounting servers and finder
RE: Applescript mounting servers and finder
- Subject: RE: Applescript mounting servers and finder
- From: "Nick Hearn" <email@hidden>
- Date: Wed, 20 Dec 2006 08:46:30 -0000
- Thread-topic: Applescript mounting servers and finder
***Before acting on this email or opening any attachment you are advised to read the disclaimer at the end of this email***
************************************
Hi there,
I use the same sort of script to mount servers and I had a similar problem.
One thing I found helped was not to use the username and password if I was mounting different shares under the same ip address. I used it for the first one only.
Nick
-----Original Message-----
From: applescript-users-bounces+nick.hearn=email@hidden [mailto:applescript-users-bounces+nick.hearn=email@hidden] On Behalf Of Jan Bultereys
Sent: 20 December 2006 08:34
To: John Gibson; email@hidden
Subject: Re: Applescript mounting servers and finder
Hi John,
I had the same Œproblem¹ in the past.
This is the solution I made:
tell application "Finder"
do shell script "mkdir /Volumes/VolumeName"
do shell script "mount -t afp afp://username:password@myServerName/VolumeName /Volumes/VolumeName" end tell
The problem about the fast boot of the G5 can be solved with a delay in your script.
Add a line:
"Delay 10" or more in your script... this you will have to find out how much delay is necessary.
Enjoy,jan
> From: John Gibson <email@hidden>
> Date: Tue, 19 Dec 2006 11:00:26 -0600
> To: AS Users <email@hidden>
> Subject: Applescript mounting servers and finder
>
> Hi all,
>
> I was using a similar script to mount servers in panther and it worked
> fine.
>
> tell application "Finder"
> --activate
> mount volume "afp://Username:email@hidden.1/Jobs/"
> mount volume "afp://Username:email@hidden.1/IT/"
> mount volume "afp://Username:email@hidden.1/321 Launch/" mount
> volume "afp://Username:email@hidden.1/Digital Library/" mount
> volume "afp://Username:email@hidden.1/Inside Services/" mount
> volume "afp://Username:email@hidden.1/Libraries/"
> mount volume "afp://Username:email@hidden.1/Maddock Douglas/"
> mount volume "afp://Username:email@hidden.1/The Place/" mount
> volume "afp://Username:email@hidden/Clients and Profits/"
> end tell
>
> Now when I have moved to Tiger I had to make sure that the names were
> capitalized, however many times when I run the script I get the error
> that "Finder got an error: Disk some object wasn't found."
>
> I am using Extremez-ip software for Appleshare over IP on a windows
> 2003 server, and panther had no problem with this script. what can I
> do to make sure that all the volumes get mounted
> Also I know this is off list, but I am now finding even mounting
> volumes from the finder to be unreliable. It seems that the dual
> core Intels are too fast or something because it will get to finder
> and then tell me it can' t mount a server, but then will mount the
> next servers in line.
>
> I am about to get rid of auto mounting with scripts and startup items
> because of how unreliable it seems to have become in Tiger. Anyone
> else out there finding this out or am I a singly unique individual.
>
> Thanks for your help
>
> John Gibson
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> AppleScript-Users mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
> @offic
> edepot.com
> Archives: http://lists.apple.com/mailman//archives/applescript-users
>
> This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Archives: http://lists.apple.com/mailman//archives/applescript-users
This email sent to email@hidden
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email
______________________________________________________________________
**********************************************************************
Communisis plc - registered no: 2916113 is a limited company registered in England and Wales and whose registered office is at Wakefield Road, Leeds, LS10 1DU.
Please Note: This e mail and its attachments contain only the opinions of the sender and do not necessarily reflect the policy (s) of the Communisis group in general.
Confidentiality: This e-mail and the contents of any attachments are intended for the named recipient(s) only and may be confidential. If you have received this e-mail and its contents in error you must take no action based on them, nor must you copy or show them to anyone. Please reply to this e-mail and highlight the error.
Warning: Although this e-mail and any attachments have been scanned for viruses, Communisis cannot guarantee that they are virus free. The Communisis group therefore accepts no responsibility for any loss or damage caused by transmission of this e-mail.
**********************************************************************
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/mailman//archives/applescript-users
This email sent to email@hidden