Mailing Lists: Apple Mailing Lists

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

Jeez, I must be very stupid... (Filtering a list of items...)



What was the issue? Writing a script to return all non-disk desktop items?

Well, being a total applesccript rookie, I tried a couple of things, and
something that came back in an error message suddenly clicked.

So here9s the script:


tell application "Finder"
get every item of desktop whose kind is not "volume"
end tell


Volume, not Disk.


Returned every item of the desktop, except my 6 disks (= volumes)

Am I stupid, or have I found the solution? Please tell me...


Mike
_______________________________________________
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.