Mailing Lists: Apple Mailing Lists

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

list disks on Panther



The command list disks on Panther returns all the mounted disk (as usual) but it also returns at the end of the list the item "Network" !
Is this normal ? "Network" is not a physically mounted disk...
And it didn't do that in Jaguar so that makes on of my script running ok on Jaguar but not on Panther.
I suppose the best way to make my script working on the two systems is :

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.



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.