Ah ok, I just wondered if I missed something essential! o)
Well, I don't know what 0xt1n's opinion is, but I find suggested logic a bit too heavy and very specific for a good working toggle. I guess I would lean more towards that mentioned event-based approach, you also wouldn't loose the @toggle functionality. Because I had spare time at hands, I did AutoVars: Event: AutoVars (event-handling for variables)
@0xt1n
Maybe you like to try the add-in, install it and then just insert the lines using "src:HiddenItems.bfc.drop" like shown below.
This will result in a button that indicates your current filtering with a "pressed" button-look, which will magically dissapear once you leave/change the folder. o)
@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