dot hidden

I have been looking for an AppleScript that would do the following…

When you click on a folder it will get the folder size and if it is 4 GBs or larger it will display a message that tells the size of the folder.

The reason for this is so I can backup a folder to DVD when it goes over 4 GB.

I haven’t found any sample code for this and I am not AppleScript saavy enough to create one from scratch.

Any help would be appreciated.

Thank you!