panlatv Posted June 2, 2008 Share Posted June 2, 2008 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). Link to comment Share on other sites More sharing options...
newbiescripter Posted June 2, 2008 Share Posted June 2, 2008 if it's an .exe file you could use ProcessExists to see if it is running. Link to comment Share on other sites More sharing options...
panlatv Posted June 2, 2008 Author Share Posted June 2, 2008 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 ... Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now