hi! i found a select script to select folders/files that have been "modified today" in this thread (viewtopic.php?p=54696#p54696).
it is from 2010 and still works. is this still the best way to do this or is there a single "sel" command that can be used now ? i didn't see any examples that i could use in the scripting help section.
currently i have a VFO setup for "Today" and do my selections there, but i would like to add a "Select Today" command to my hamburger.
Update to "Select Modified Today" ?
-
- Posts: 279
- Joined: 29 Sep 2022 14:20
- Location: Win10 @125%
Re: Update to "Select Modified Today" ?
selectitems quicksearch("ageM: d /n");
-
- Posts: 4317
- Joined: 28 Feb 2012 19:27
- Location: Windows 11, 24H2 Build 26100.3915 at 100% 2560x1440
Re: Update to "Select Modified Today" ?
Now-a-days it's probably much easier and quicker to use SC quicksearch
Oops jupe beat me to it.
selectitems quicksearch("ageM: <= 1 d /n");
Oops jupe beat me to it.
-
- Posts: 279
- Joined: 29 Sep 2022 14:20
- Location: Win10 @125%
Re: Update to "Select Modified Today" ?
thank you both ! it works as expected. is it possible with selectitems and/or quicksearch to only select files and not folders ? i checked the scripting help file and didn't see any special flags or parameters for these commands.
i can use this as-is, if a "files only selection" is too difficult. this one-liner works nice inside the hamburger.
i can use this as-is, if a "files only selection" is too difficult. this one-liner works nice inside the hamburger.
Re: Update to "Select Modified Today" ?
You mentioned folders/files in the OP else I would have assumed files only, anyway easy change:
selectitems quicksearch("ageM: d /fn");