Re: cleaning my desktop
Re: cleaning my desktop
- Subject: Re: cleaning my desktop
- From: "Stockly, Ed" <email@hidden>
- Date: Wed, 03 Oct 2007 12:27:36 -0700
- Thread-topic: cleaning my desktop
> Probably easier to stop saving stuff to the Desktop than trying to generate a
"smart enough" script that'll put things where you think they should go.
On the other hand you only need to write the script once and you can use it
forever. I sent the OP a script I've been using since system 7 to do the
same thing.
>> set p2d to path to desktop as Unicode text
> tell application "Finder"
> set theDocs to every document file in folder p2d
There may be a problem with that approach. "The Desktop" is a kind of crazy
conglomeration of the desktop folders of whatever local volumes are mounted.
That command only provides the desktop files of the startup disk.
How about this instead:
tell application "Finder" to set theDocs to every document file of the
desktop
HTH,
ES
_______________________________________________
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