Jump to content

FileGetTime Help


Recommended Posts

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 by JamesDover
Link to comment
Share on other sites

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

Link to comment
Share on other sites

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 by weaponx
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...