Jump to content
Sign in to follow this  
panlatv

Detect the opening of a file

Recommended Posts

panlatv

Hello

I try to Detect the opening of a file. It's for winclam antivirus. The function is like a on-access function.

do you have any idéa to do this?

Thank you, and sorry for my bad english.

(my script scan: memory, important file system, recent document, but i don't know how to do a on-access function).

Share this post


Link to post
Share on other sites
newbiescripter

if it's an .exe file you could use ProcessExists to see if it is running.

Share this post


Link to post
Share on other sites
panlatv

if it's an .exe file you could use ProcessExists to see if it is running.

Yes, for exe (process) and for recent document (the directory of recent document) (doc,ott...) it's ok.

But, if i run winrar and then open a rar file in winrar i can't detect this (or with the title of the windows, but it's not a really good solution), ant that is the problem :/

Maybe with the HANDLES ...

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.