run applescript automatically on file and close

Joined
Jun 10, 2012
Messages
4
Reaction score
0
Points
1
run applescript automatically on file open and close

Is it possible to automatically invoke a given applescript when opening -any- document with a given application?

In effect, I would like to automatically detect the "open file" operation (irrespective of how the file was opened) so as to immediately follow it with a specific AS.

I would similarly like to automatically precede any "close file" operation with another AS.

Is this possible via Automator or some other way?

Thanks,
humanengr
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top