Re: cleaning my desktop
Re: cleaning my desktop
- Subject: Re: cleaning my desktop
- From: KOENIG Yvan <email@hidden>
- Date: Wed, 3 Oct 2007 21:49:40 +0200
Le 3 oct. 07 à 21:27, Stockly, Ed a écrit :
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
Hello
My machine is never part of a network so I can't check if what you
wrote makes a difference with my proposal.
It's my own rule, try to offer only code that I may test.
Yvan KOENIG _______________________________________________
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