creeping Posted July 21, 2006 Share Posted July 21, 2006 (edited) Can anyone tell me if this is the correct way to determine if a file was modifiedafter the other one? Func CheckFileDate($file1, $file2) If FileGetTime($file1, 2) > FileGetTime($file2, 2) Then Return 1 Else Return 0 EndIf EndFunc Thanks Edited July 21, 2006 by creeping Link to comment Share on other sites More sharing options...
Simucal Posted July 21, 2006 Share Posted July 21, 2006 (edited) Can anyone tell me if this is the correct way to determine if a file was modifiedafter the other one? Func CheckFileDate($file1, $file2) If FileGetTime($file1, 2) > FileGetTime($file2, 2) Then Return 1 Else Return 0 EndIf EndFunc oÝ÷ Ù8ZK?ªê-xe¢,)Ê°z·*ì¶)ò¢êí¢¶+e{*.±¬ªºZqǬ±çjºZÛazx§Ê«¦-ʬk*®¢Ù¨v'âyÚ®¢Ô¨Â+"´·²;¬µ«,ºg¢¶+qǬ±ç_¢¹èÁ8^Á¬²¢æ«yÆ¥)à)^ëSg¢¶·º¹ìjv«¬Ë^iÛkÉ«¢+Ù%¥±ÑQ¥µ ÀÌØí¥±Ä°È°Ä¤Ð쥱ÑQ¥µ ÀÌØí¥±È°È°Ä¤Q¡¸ Edited July 21, 2006 by Simucal AutoIt Scripts:Aimbot: Proof of Concept - PixelSearching Aimbot with several search/autoshoot/lock-on techniques.Sliding Toolbar - Add a nice Sliding Toolbar to your next script. Click the link to see an animation of it in action!FontInfo UDF - Get list of system fonts, or search to see if a particular font is installed.Get Extended Property UDF - Retrieve a files extended properties (e.g., video/image dimensions, file version, bitrate of song/video, etc) Link to comment Share on other sites More sharing options...
creeping Posted July 21, 2006 Author Share Posted July 21, 2006 ops, sorry. I changed the post becaude I put accessed instaed of modified but forgot to change the title. Yeah I wanted to check the last modified time anyway. Thanks 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