Test for Desktop
Test for Desktop
- Subject: Test for Desktop
- From: Brad Giesbrecht <email@hidden>
- Date: Thu, 15 Feb 2001 13:35:08 -0800
Hello List,
How do I test if the items in a Finder selection
reside in one of my Desktop folders?
I don't care which drive it's on, I just don't
want to work with items in other directories.
else if the selected_items of the desktop folder is false then
display dialog "No Desktop items are selected." buttons {"Cancel"} default
button 1
I probably need to loop through selected_items
but really if any item, like item 1, is in any
Desktop folder, well I guess I'd be done testing.
As long as item 1 is not a mounted volume.
Is a mounted volume "in" my start up
drives Desktop folder?
I don't think so. At least, you can't see a
mounted volume in the Desktop folder of a
mounted volume.
So I need to loop out the drives first.
Now watch, one of you is going to tell me,
"Why you makeing it so hard and slow, just....."
Cheers,
Bradley Giesbrecht ;-)
PS- R23, thanks for the reply.