Organization: U. C. Berkeley Open Computing Facility
Lines: 19
Message-ID: <14kgmjINNdm3@agate.berkeley.edu>
References: <15246.2A6C9813@zeus.ieee.org>
NNTP-Posting-Host: monsoon.berkeley.edu
In article <15246.2A6C9813@zeus.ieee.org> Tommy.Brown@f204.n2603.z1.ieee.org (Tommy Brown) writes:
>I don't think that you CAN get the Finder to update the window immediately,
>
>because as far as I know, the Finder just doesn't constantly poll the disk to
>see if anything's been changed. The only thing I can think of is if you were
>
You'd be surprised what the finder does. Put a trap break on HFSDispatch sometime. You'll be surprised. The finder is constantly cycling through open windows and getting folder dates etc.
If you want to force the window to update, change the modification date of the folder containing the item you changed.
The finder always updates for me. Sometime soon I may be posting a small INIT that does this as well as patch a few traps. The INIT automatically relocates items dropped in a folder.
Just to a PBGetCatInfo followed by a PBSetCatInfo. But remember that the ioDirID field (and a few others, I think) get chewed after the call is complete.