Refreshing finder Windows

Hi
I want write a script that will let me refresh all open finder windows (or if it is a better idea I can specify the windows to refresh as there will be less than 5) at a timed interval but I’m not sure how you refresh a window with AppleScript. Does this have to be done using a shell script? If so can someone please suggest how this should be written
Thanks!!

If you save this as a stay open application (in Script Editor) and then launch the resulting application, it should refresh the contents of the window(s) every 30 seconds.

on idle
	try
		tell application "Finder" to update (get items of windows)
	end try
	return 30 -- idle time, in seconds, between executions
end idle

– Rob

That’s great, thanks for that - I’ll give it a try