• 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: Find server name of mounted volume
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Find server name of mounted volume


  • Subject: Re: Find server name of mounted volume
  • From: Gnarlodious <email@hidden>
  • Date: Mon, 6 Nov 2006 09:28:58 -0700

How about a command like this:

do shell scroipt "ls -tr ~/Library/Recent\\ Servers/ | tail -1 | awk
'{print $9}'
"

-- Gnarlie


On 11/3/06, Timothy Wilkinson <email@hidden> wrote:
I've got two volumes mounted on the desktop from two different servers. Both
volumes are named "HOME".  I need to be able to distinguish one from the
other.  If I do a "Get Info" in the Finder it shows me the server path for
each.

Is there any way in AppleScript to get that server path information?  I've
looked through System Events, Finder, Standard Additions and Googled but I
haven't found anything about it.

If you can't get that can someone suggest another way to distinguish between
these two mounted volumes?

Thanks!

Tim Wilkinson
ITC-ACHS
University of Virginia
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
References: 
 >Find server name of mounted volume (From: Timothy Wilkinson <email@hidden>)

  • Prev by Date: visible of window bug
  • Next by Date: Re: Merge all names into 1 file
  • Previous by thread: Re: Find server name of mounted volume
  • Next by thread: Optimizing Character Matching
  • Index(es):
    • Date
    • Thread