[Mac OS X] How to tell external disk mounted?
[Mac OS X] How to tell external disk mounted?
- Subject: [Mac OS X] How to tell external disk mounted?
- From: Simon Forster <email@hidden>
- Date: Tue, 13 Apr 2004 20:28:23 +0100
One of my machines has turned up its toes so I've got to move
half-a-dozen scripts which usually run unattended at 3:00 am.
Problem: The machine I'm testing these scripts on has a hard drive
named "Macintosh HD". Part of the script effectively says:
if not (disk "Macintosh HD" exists) then
...which worked fine on the old machine but, as a test, fails on the
current machine due to the identically named HDs.
No probs, I'll check /Volumes/ - but that has a symbolic link to root
of the current drive.
So, what's the best way of checking if the server's HD "Macintosh HD"
is mounted?
TIA
Simon Forster
_____________________________________________________
LDML Ltd, 62 Pall Mall, London, SW1Y 5HZ, UK
Tel: +44 (0)70 9230 5244 Fax: +44 (0)70 9230 5247
_____________________________________________________
_______________________________________________
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.