• 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
Re: Strange behavior on 10.2.6 - mount volume
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: Re: Strange behavior on 10.2.6 - mount volume
  • Next by Date: Filter reference form question
  • Previous by thread: Re: Strange behavior on 10.2.6 - mount volume
  • Next by thread: Filter reference form question
  • Index(es):
    • Date
    • Thread