version check

Hi All

I want a script to check version.

I have some InDesign Files some are in older version and some are in new version.

I need a script, as I open any document it pop up a message that “This file in older version” and version number like that. Or “This file is in newer version”.

Can we do that or not?

Regards
Rajeev