Re: Strange behavior on 10.2.6 - mount volume
Re: Strange behavior on 10.2.6 - mount volume
- Subject: Re: Strange behavior on 10.2.6 - mount volume
- From: Dave Balderstone <email@hidden>
- Date: Wed, 17 Dec 2003 09:21:40 -0600
On 17-Dec-03, at 8:55 AM, Ruby Madraswala wrote:
Do I need to check if the volume is mounted on OSX. And what the
syntax for it.
Here's code that I use...
---
tell application "Finder"
if not (exists disk "Ruby") then
try
mount volume "Ruby" on server "Master Server" as user name
"myname" with password "mypassword'
on error
display dialog "Could not mount the Ruby."
error number -128 -- aborts script
end try
end if
end tell
---
djb
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.