Select files with date of current file

Here you can propose new features, make suggestions etc.

Moderators: white, Hacker, petermad, Stefan2

Post Reply
tooor
New Member
New Member
Posts: 1
Joined: 2021-06-19, 09:11 UTC
Location: Germany

Select files with date of current file

Post by *tooor »

Hello,

I would like to suggest two menu entries in menu Mark for [de]selecting all files that have the same date (same day) of the current selected file.

As an enhancement an extension in the "Expand selection" dialog could be added to restrict the selection to a time intervall (start and end date or time stamp). Maybe with an option: [x] Select files outside the time range

Greetings,
tooor
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6450
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: Select files with date of current file

Post by *Horst.Epp »

Here is an Autohotkey macro which selects all files with the same date as the current file.

Code: Select all

FileGetTime, Date, %1%
FormatTime, Date, %Date%, yyyyMMdd
Loop, Files, *.*
{
	FormatTime, DateChecked, %A_LoopFileTimeModified%, yyyyMMdd
	If (DateChecked = Date)
		SameDateFileList .= A_LoopFileName . "`n"
}

If (SameDateFileList)
{
	ClipboardBak = %ClipboardAll%
	Clipboard := Substr(SameDateFileList, 1, StrLen(SameDateFileList) - 1)
	PostMessage, 1075, 2033, , , ahk_class TTOTAL_CMD
	Sleep, 1000
	Clipboard = %ClipboardBak%
}
Windows 11 Home x64 Version 23H2 (OS Build 22631.3374)
TC 11.03 x64 / x86
Everything 1.5.0.1371a (x64), Everything Toolbar 1.3.2, Listary Pro 6.3.0.69
QAP 11.6.3.2 x64
Post Reply