Date modified toggle button

Here's another variation in a regular button. The filtering is done via JS snippet inline. The current math filters the file display to only show items modified within the last hour, just multiply that "3600" by 24 to make it a day. The button also appears pressed-in / toggled as long as the filtering is active.

@toggle:if $src:HiddenItems

@ifset:$src:HiddenItems
@set src:HiddenItems
@set src:HiddenItems.bfc.drop
Select NOPATTERN SHOWHIDDEN 

@ifset:else
@set src:HiddenItems=1
@set src:HiddenItems.bfc.drop=always
SelectEx SIMILARMETAJS="if (((new Date().valueOf()-new Date(item.modify).valueOf())/1000)<3600) return true;" DESELECTNOMATCH
Select NOPATTERN HIDEUNSEL

You need SelectEx Command: SelectEx (extended Select command) and AutoVars Event: AutoVars (event-handling for variables) script addins for this button to work as expected.