OSX and activation

I have a cript that looks at lots of folders across networks and local for files to arrive in different folders. The problem is the script does not seem to see the file in the folder until I actually click on the window.
Why?
Steve

: I have a cript that looks at lots of folders across networks and
: local for files to arrive in different folders. The problem is
: the script does not seem to see the file in the folder until I
: actually click on the window.
: Why?
I’d guess that the script is outpacing the Finder. In OS 9, and
probably earlier, there’s a command to nudge the Finder.
From the Finder’s dictionary:
[b:000]update[/b:000]: Update the display of the specified object(s) to match their on-disk representation
update [b:000]reference[/b:000] – the item to update
I don’t know if this will help or not, but it might be worth a try.
Later,
Rob J