Re: cleaning my desktop
Re: cleaning my desktop
- Subject: Re: cleaning my desktop
- From: "Steven D. Majewski" <email@hidden>
- Date: Wed, 3 Oct 2007 14:32:58 -0400
On Oct 3, 2007, at 1:11 PM, William Chu wrote:
Hi,
Need to make an applescript that can organize all my files on the
desktop to the appropriate folders (documents, music, pictures,
movies) during shutdown, restart, or logging off. Can anybody help
me, please. My desktop is getting cluttered by the hour
Will
[1] First make a new folder on your desktop, and copy everything else
on the desktop into it.
That solved the clean-up-the-desktop part of the problem.
( If the desktop folder is also your download folder, you may
want to also change that. )
[2] Use Finder smart folders to sort the contents.
Nobody could ever guess how you would want to sort your folders,
and even if they could,
you wouldn't want to have to edit to applescript whenever you
wanted to add or change
anything. Smart folders will be easier to manage.
[3] Start using spotlight comments and color labels to tag files new
files -- those tags
will give you other criteria to use in smart folders.
I've only just started to do the above myself to try to sort out my
own mess.
Now my questions for Applescript Users is:
How can you access the contents of a smart folder from Applescript ?
Although they show up in the Finder (looking like folders) they are
really xml plist files. I don't see anything in the Finder dict to
access these smart folders. Is spotlight otherwise scriptable ?
I don't see a separate dict for it, although I do see one for
Sherlock.
And similarly, how can you access the list of files thru the shell?
-- Steve Majewski
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden