Gui, Add, GroupBox, x340 y57 w110 h40, Include Gui, Add, CheckBox, x290 y72 w36 h20 gAddExtensions Checked vtiff AltSubmit, tiff Gui, Add, CheckBox, x248 y72 w40 h20 gAddExtensions Checked vpng AltSubmit, png Gui, Add, CheckBox, x206 y72 w40 h20 gAddExtensions Checked vbmp AltSubmit, bmp
Gui, Add, CheckBox, x170 y72 w36 h20 gAddExtensions Checked vgif AltSubmit, gif Gui, Add, CheckBox, x106 y69 w60 h26 gAddExtensions Checked vjpg AltSubmit, jpg`, jpeg Gui, Add, GroupBox, x96 y57 w240 h40, File Extensions Gui, Add, Text, x96 圓7 w260 h20 R1 vsysmsg, %sysmsg% Gui, Add, Edit, x96 y7 w354 h20 vdirpath, %dirpath% Gui, Add, Text, x56 y77 w40 h20 vError, 0 Gui, Add, Text, x56 y57 w40 h20 vmodified, 0 Gui, Add, Text, x56 圓7 w40 h20 vCountFiles, 0 Gui, Add, Text, x12 y57 w50 h15, Modified: Gui, Add, Text, x12 y10 w90 h20, Directory Path: Gui, Show, X%GUIstartX% Y%GUIstartY% Autosize, Last Modified Date Overwriter WinGetPos, GUIstartX, GUIstartY, Last Modified Date Overwriter Gui, Add, Edit, x10 y102 w492 h60 vErrorList, %ErrorList% GuiControl, prog, % (modified + error) / max * 100 FileSetTime, tStamp, %dirpath%%A_LoopField% Gui, Cancel, Edit, x10 y102 w492 h60 vErrorList, %ErrorList% FileList = %FileList%%dirpath%%A_LoopFileName%`nįileList = %FileList%%A_LoopFileLongPath%`n If !InStr(dirpath, "\", False, StrLen(dirpath) - 1)įileList = %FileList%%A_LoopFileLongPath%`n %A_LoopFileName%`n Sysmsg("the directory does not exists.", "cRed") If !InStr(FileExist(droppedpath), "D") if it is a file Sysmsg("press Count to find image files.", "cBlack") Sysmsg("Press Count to find image files.")įileSelectFolder, selectedpath, *%dirpath%, 0, Select FolderĮlse if !InStr(dirpath, "\", False, StrLen(dirpath) - 1) Please reffer to this page for more information. overwrites the Last Modified Dates of your selected image files, based on the file name sort order. Any corrections or suggestions are appreciated. Before you run this script, please make sure that you do not need the modified dates you have now.Īs shown above, the last file gets the current time when the script is executed and it decreases by second as it goes to the first one. This script overwrites the last modified dates of images in a selected directory. That frustrates many users who want to see them sorted by name.ĭownload: Last Modified Date Overwriter 2.0.1 (contains the exe file.) Learn more by checking out the following article.Overview: This is for those who use Picasa Photo Viewer which displays images based on the last modified dates.