directory update slow

I build a listbox of a folder listing. If I save a new file to that folder and then immediately repopulate the listbox to display the new file the new file often doesn’t show up. If you try again some seconds later, the new file shows up.

I remember seeing somewhere in the forum that OS X file operations can be “slow”. Is there any way to force a directory update prior to populating the listbox?

Dave

Did you check your boot disk, all connected hard disks with the“Disk Utilities” application ?

I never had what you describe (on Mac OS).

Nota: Windows is (was ?) slow at that.

The Finder doesn’t always update very quickly. I had an AppleScript for this. Something like “update Finder with necessity”. But I recently updated this to

NSWorkspaceMBS.noteFileSystemChanged(theAttachment)

for the upcoming AppleScript apocalypse.

Thank you, Beatrix!

Just what I was looking for!

Dave