I don't like that I have to enter complex queries all the time

If you are experiencing problems with "Everything", post here for assistance.
Post Reply
Debugger
Posts: 645
Joined: Thu Jan 26, 2017 11:56 am

I don't like that I have to enter complex queries all the time

Post by Debugger »

I don't like that I have to enter complex queries all the time, it's awful, and on top of that it still doesn't work! E.g.
^D:\\WinX\\(?!Republic - Apolog\(DJ Remix 2024\) #dj抖2024\\)[^\\]+\\.*$ size:15MB..100MB
dedupeit
Posts: 56
Joined: Thu Jul 28, 2022 9:52 pm

Re: I don't like that I have to enter complex queries all the time

Post by dedupeit »

What doesn't work. What are you trying to match?
horst.epp
Posts: 1493
Joined: Fri Apr 04, 2014 3:24 pm

Re: I don't like that I have to enter complex queries all the time

Post by horst.epp »

You can use bookmarks and macros.
No need to enter complex searches over and over again.
Debugger
Posts: 645
Joined: Thu Jan 26, 2017 11:56 am

Re: I don't like that I have to enter complex queries all the time

Post by Debugger »

horst.epp wrote: Sun Jan 05, 2025 3:05 pm You can use bookmarks and macros.
No need to enter complex searches over and over again.
I'm not a programmer, I don't write macros, I'm an ordinary user, not an expert. Just want to find the size of the file, but did not work "size:" with regular expressions.


Macros don't make sense anyway, because I use thousands of different combinations of different file searches and names and other things. So it won't speed up the task.
dedupeit
Posts: 56
Joined: Thu Jul 28, 2022 9:52 pm

Re: I don't like that I have to enter complex queries all the time

Post by dedupeit »

Debugger wrote: Sun Jan 05, 2025 5:53 pm I'm not a programmer, I don't write macros, I'm an ordinary user, not an expert. Just want to find the size of the file, but did not work "size:" with regular expressions.
You don't need to be a programmer. But it looks like you're trying to do advanced/expert things, so you may need to learn how to do those things. And if you explained what you're trying to do, maybe you'd get some help with that here.
void
Developer
Posts: 17310
Joined: Fri Oct 16, 2009 11:31 pm

Re: I don't like that I have to enter complex queries all the time

Post by void »

I am guessing you have Regular Expressions enabled.
Everything Search functions do not work when Regular Expressions are enabled globally.

Disable Regular Expressions from the Search menu.

Search for:

regex:"^D:\\WinX\\(?!Republic - Apolog\(DJ Remix 2024\) #dj抖2024\\)[^\\]+\\.*$" size:15MB..100MB




Basic Everything Search Syntax:
Space = AND
| = OR
! = NOT
< > = Grouping
" " = Escape operator characters.



Please try Search -> Advanced Search
Easily set a regular expression and size range.
ChrisGreaves
Posts: 729
Joined: Wed Jan 05, 2022 9:29 pm

Re: I don't like that I have to enter complex queries all the time

Post by ChrisGreaves »

Debugger wrote: Sun Jan 05, 2025 5:53 pmMacros don't make sense anyway, because I use thousands of different combinations of different file searches and names and other things. So it won't speed up the task.
Let's see if I understand your situation:-

(1) You want to speed up the task of specifying your search; for most of us this will amount to reducing the number of keystrokes you need to perform for each search. Typing in

Code: Select all

^D:\\WinX\\(?!Republic - Apolog\(DJ Remix 2024\) #dj抖2024\\)[^\\]+\\.*$ size:15MB..100MB
IS 88 characters, and supposing that only the 35 characters

Code: Select all

Republic - Apolog\(DJ Remix 2024\) 
were variable, then you would be able to cut 53 characters from your typing load.

(2) As has been pointed out in this thread, you will need to learn at least some basics about features of Everything if you want to maintain control of how you search with Everything. Learning is easy here as almost everyone who posts has a positive attitude towards those who are willing to learn.

(3) Be careful with the term "macros". To me "macros" means assembly-language inline expansion of source code for machines as fascinating as the DEC PDP-6, the IBM 1401 and the System/360, the CDC 3300s series of mainframes and also Microsoft Office VBA (a different form of "macro"), as well as Everything. Any deep discussion of "macros" in Everything will be assumed to refer to Void's implementation of what he calls macros which, at first, can be confused with "search", "filters", "bookmarks" and so on - in the context of Everything.

If at this point you agree, roughly, with what I have laid out then I am going to suggest that you need some sort of interactive method whereby, in my example above, you get to type in the variable part of a search "Republic - Apolog\(DJ Remix 2024\)", but the invariable parts of the search "^D:\\WinX\\(?!" and "#dj抖2024\\)[^\\]+\\.*$ size:15MB..100MB" would be provided automatically by the pre-defined procedure.

Am I close to your ideas at this point?

Cheers, Chris
Debugger
Posts: 645
Joined: Thu Jan 26, 2017 11:56 am

Re: I don't like that I have to enter complex queries all the time

Post by Debugger »

I think my questions are specific, from what I've noticed required accoutrements in this particular tool “Everything” are still required “quotes” in ReGexand writing terms “regex:” instead of enabling this option.

@void - Work: regex:"..."
Post Reply