"refresh" the Finder?

Chris Sheffield revlist at cableone.net
Fri Feb 4 10:49:37 EST 2005

Thanks, Frank, and everyone else who responded to this.  I appreciate the
help even though it was slightly OT.  I got it to work the way I wanted by
using AppleScript to send the folder to the trash, and then using Frank's
and James' ideas to delete the folder from there.  Works perfectly!

Thanks again.

Chris Sheffield
Software Development
Read Naturally

-----Original Message-----
From: use-revolution-bounces at lists.runrev.com
[mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Frank D.
Engel, Jr.
Sent: Friday, February 04, 2005 7:34 AM
To: How to use Revolution
Subject: Re: "refresh" the Finder?

Hash: SHA1

Warning!! Warning!!

Using "/Users/" & $USER -- this is a dangerous assumption, as it is 
possible for the user's home directory to be somewhere completely 
different, such as on a network volume!

Rather, you should use something like this:

delete folder $HOME & "/.Trash/foldername"

The $HOME environment variable is present on most *NIX systems 
(including OS X) and points to the correct home directory, even if it 
is on a server or in some location other than the default.


No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.8.5 - Release Date: 2/3/2005

More information about the use-livecode mailing list