Putting files in Trash
Putting files in Trash
- Subject: Putting files in Trash
- From: Steve Gehrman <email@hidden>
- Date: Sat, 10 Nov 2001 19:27:07 -0800
I'm putting files in the trash with:
[[NSWorkspace sharedWorkspace]
performFileOperation:NSWorkspaceRecycleOperation source:sourceDirPath
destination:@"" files:array tag:&resultTag];
This work, but I can't get the Finder to update the window. If I log
out and log back in, the items show.
Help.
-steve