Clockowl 56 Posting Whiz

Does anyone know if it's possible to create a shellscript that knows when it's fopen()ed? So when any process fopens() it, it can take an action?

Thanks in advance,