RE: Mount volume
RE: Mount volume
- Subject: RE: Mount volume
- From: "Script2" <email@hidden>
- Date: Thu, 19 Feb 2009 08:24:53 -0500
- Importance: Normal
This might be a stupid question but
set theCmd
to "mkdir
/Volumes/Data" & i
Where is this created? I did a search
could not find it. First time I run the script I got an error message on the
mount. Second time I got an error message file already exist.
Ruby
-----Original Message-----
From:
applescript-users-bounces+script2=email@hidden
[mailto:applescript-users-bounces+script2=email@hidden] On Behalf Of Eric Taylor
Sent: Wednesday,
February 18, 2009 12:29 PM
To: Christian Roth
Cc: 'asu Users'
Subject: Re: Mount volume
There is always the manual method via do shell script.
This seems to work for me, but I was only experimenting with a single volume.
Might be worth a try? As a bonus, you could actually control all the different
names of the mount points too. That is, if you're mounting 5 different volumes
named "Data" you could actually name them things like DataAlice,
DataBob, DataCharlie if you wanted.
repeat with
i from 1 to 5
set theCmd
to "mkdir
/Volumes/Data" & i
set cmdResult
to do shell script theCmd
display dialog "There appears to have been an
error. mkdir says:" & return
& return & cmdResult buttons "Cancel" default button 1
set cmdResult
to do shell script theCmd
--Not sure how to error check this
one. It always returns some gibberish...
On Feb 18, 2009, at 10:03 AM, Christian Roth wrote:
I recently changed from 10.3.9 to 10.4.11 on one of
the MAC. I had script on
10.3.9 that would mount 5 volumes without any problem.
On 10.4.11 when I run
this script it mounts sometimes 2 or 3 volumes never
all 5. I tried adding
"delay" in between but this does not work.
You are out of luck (seriously), mount volume is
completely broken in
Tiger and has never been fixed. It works better
(again) in Leopard.
The Apple Bugreporter ID for the report I submitted is
4219620, and it
was closed as a duplicate of 4206723.
For my original report, I got the following status
info: "4219620 -
closed as dup; dup fixed in Leopard".
So you either upgrade to Leopard or revert to Panther,
where the command
worked flawlessly for me.
_______________________________________________
Do not post admin requests to the list. They will be
ignored.
Help/Unsubscribe/Update your Subscription:
|
_______________________________________________
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/archives/applescript-users
This email sent to email@hidden