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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 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? -----BEGIN PGP SIGNED MESSAGE----- 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 _______________________________________________ use-revolution mailing list [email protected] http://lists.runrev.com/mailman/listinfo/use-revolution
