Re: How to tell if a disk is locked?
Re: How to tell if a disk is locked?
- Subject: Re: How to tell if a disk is locked?
- From: david <email@hidden>
- Date: Sun, 20 Oct 2002 23:13:43 -0400
On Sunday, October 20, 2002, at 10:11 PM, John C. Welch wrote:
So System Events has all this great info about a disk except if it is
read-only or not...is there anyway in 10.2.x to tell if a disk is
read-only
or not?
tell application "Finder"
get properties of disk "Macintosh HD" --or whatever disk
end tell
--you'll see these within the results:
--locked:false
--owner privileges:read write
--group privileges:read write
--everyones privileges:read only
if it is so set
hth
david in Maine USA
_______________________________________________
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.