Re: Applescript mounting servers and finder
Re: Applescript mounting servers and finder
- Subject: Re: Applescript mounting servers and finder
- From: Jan Bultereys <email@hidden>
- Date: Wed, 20 Dec 2006 09:33:54 +0100
- Thread-topic: 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:
> 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)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/mailman//archives/applescript-users
This email sent to email@hidden