JamesDover Posted May 1, 2008 Posted May 1, 2008 (edited) FileGetTime seems to change the last accessed time to the current time when it reads so I can't get a good reading. Is there anything I am missing? I'm trying to find how offen the user uses office. Cheers $Excel2003 = FileGetTime(@ProgramFilesDir & "\Microsoft Office\OFFICE11\excel.exe", 2) $Excel = $Excel2003[0] & "/" & $Excel2003[1] & "/" & $Excel2003[2] Edited May 1, 2008 by JamesDover
flip209 Posted May 1, 2008 Posted May 1, 2008 What about change it from accessed to modified? " I haven't failed. I've just found 10,000 ways that won't work." Thomas Edison "You cannot help men permanently by doing for them what they could and should do for themselves." Abraham Lincoln
JamesDover Posted May 1, 2008 Author Posted May 1, 2008 I could except when they run excel.exe the modified date doesn't change . If it was a test.doc file it would work.
weaponx Posted May 1, 2008 Posted May 1, 2008 (edited) I don't know if this some strange cosmic event but i'm pretty sure every time I see a new example script posted, people ignore it and request something similar. Never fails.This is the topic right below yours, which retrieves everything you asked for (last accessed, frequency of use, etc...):http://www.autoitscript.com/forum/index.php?showtopic=70263 Edited May 1, 2008 by weaponx
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