Re: Creating a folder on the desktop
Re: Creating a folder on the desktop
- Subject: Re: Creating a folder on the desktop
- From: Dave Lyons <email@hidden>
- Date: Tue, 6 Sep 2005 19:29:41 -0700
On Sep 6, 2005, at 6:15 PM, kai wrote:
FWIW, Finder is able to do something on the desktop with no path/
directory information at all. Since the desktop is a property of
the Finder, items directly contained by the desktop can be
considered elements of either the desktop or of the Finder
application. So even this should do the job:
tell application "Finder" to make new folder
Correct. From the Finder's point of view, this is because the
Desktop is the "default container".
So "every item" and "every item of desktop" mean the same thing.
The only place I know of where this equivalence breaks down is for
disks. "every disk" or disk "foo" can refer to network disks or
other disks that the user doesn't directly see, whereas "every disk
of desktop" or disk "foo" of desktop are limited to disks
actually appearing on the desktop (unchecking Finder Preferences >
General > "Show these items on the desktop" options shrinks the list).
--Dave (who works on Finder)
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden