Re: list disks on Panther
Re: list disks on Panther
- Subject: Re: list disks on Panther
- From: Gnarlodious <email@hidden>
- Date: Sun, 30 Nov 2003 06:57:11 -0700
Entity Thomas C. spoke thus:
>
Is this normal ? "Network" is not a physically mounted disk...
Must be, I'm also getting two other imaginary disks:
{
disk "Network" of application "Finder",
disk "Servers" of application "Finder",
disk "static" of application "Finder"
}
Which I can clean up by saying:
tell application "Finder" to set listDisks to every disk
set listDisks to items 1 thru -3 of listDisks
It may be a simpler solution to list the contents of the Volumes folder.
--
There are two kinds of people in the world, those who think the world is a
dichotomy, and those who don't - - - Gnarlodious
>
if last item of list_disks is "Network" then
>
set list_disks to (reverse of (rest of (reverse of list_disks)))
>
end if
>
>
Right ?
>
>
Thomas
>
_______________________________________________
>
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.
_______________________________________________
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.