Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: list disks on Panther



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.

References: 
 >list disks on Panther (From: "Thomas C." <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.