Sorry if I'm way off on this but, I just jumped in here.
1. If you just want to update a Finder window, you can do that with the Applescript "update folder pathToFolder". I've had to use this to refresh the contents of open Finder windows. I don't do that any more though.
2. If you want to delete something that's already in Trash (seems weird), you can use the shell command: rm /Users/$USER/.Trash/filename


HTH...James



On Feb 3, 2005, at 10:32 PM, Chipp Walters wrote:

Chris,

I seem to remember something about the ability to 'touch' a directory using shell scripts which should do what you want.

See,
http://www.dartmouth.edu/~rc/classes/ksh/print_pages.shtml

Or Google Mac shell touch.

-Chipp

Chris Sheffield wrote:

The problem now is that it just places the folder in the Trash, and it
didn't do that before. Does anyone know if there's a way to remove a
specific folder from the trash using AppleScript? I tried using the empty
command followed by the reference to the folder in the trash, but it didn't
work. If not, I'll just empty the trash, but I thought that's probably not
a very nice thing to do. Shouldn't be a big deal in this case, however.
_______________________________________________
use-revolution mailing list
[email protected]
http://lists.runrev.com/mailman/listinfo/use-revolution


_______________________________________________ use-revolution mailing list [email protected] http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to