Oh, this is indeed nice - I'll add that for the next version.
Do you think a dialog popup is enough / appropriate?
Could you provide an example of the time format you mean?
(I'm thinking about an ISO date)
I had no idea it was possible to nest collections. That's a great idea indeed
Oh, that could cool to have! How hard it is to do that?
(Note: I'm not a fluent javascript person )
I still want to fine tune this to something that triggers when there's way too many results and slows down opus.
If you want to give it a try, search for a and you most likely will see opus struggling to handle about 1 million objects
Though I think 1000 is a quite small number for this warning. I want to bump it up
You can copy some of the code I added in that script and modify it (I'm a scripting noob).
dlg.request("[Everything]\r\n\r\nNothing found!","OK");
There would be another option if the developers could add a message to be displayed in the status bar.
var Time = DOpus.Create.Date.Format("D#yyMMdd-T#HHmmss"); var colspec = "coll://"+"Everything\\"+Time;
Oh, there's something that might've passed by unnoticed. Most of the utility is built in C, so some of the suggested changes would need a different approach
The "bridge" script currently only forwards the query string to the C utility
Okay, lets go through the quotes (sorry, for some reason my browser is freezing if I try to quote )
The dialog with a message with zero elements found is easy to do
About the date, sorry I can partially read it, but it's in a format I'm not used to. I'll most likely will be using strftime(), so could you provide the output for your formatting string? (Use the date and time of your reply as an example if you can, please )
Uhhh my apologies for my ignorance in the javascript world - I haven't touched web stuff for 15yrs+ now. I really don't know how to use the snippets provided or where to paste them, though I'd be happy to have a working example with the current version of the "bridge" script
Glad the warning doesn't bother you, as it is rarely hit
If it helps, the Opus scripting interface has a Date object which can convert dates to the format of the user's locale (or user's override of their locale in Preferences):
If everything is coming from the C program and then going through a script, the C program could use its own internal date format and the script could convert things on the way.
I haven't submitted a compiled binary yet as the last commit changes quite a bit of code, I want to make sure it's stable before I add new binaries - but if anyone wants to compile and give it a try, it's ready
--
I haven't done anything about a new dialog yet - hopefully soon-ish.
Thank you, although I don't quite understand what you mean.
Add \ along with the path where you want to search in the search box like you would in everything?
Or are you suggesting that I modify a file? What file would it be?
@Zoc Awesome work, Zoc, thanks so much! There is one feature I would very much like, though. It's still not possible for Dopus to use Everything for folder size calculation, which is infinitely faster on Everything. Could this somehow be done through your addon? That's the only reason to still use Total Commander, since you can have Everything folder size calculation natively there.
It depends on how you want that feature to be implemented.
Displayed natively in DOpus? I don't think I'd have access to that.
Displayed as a popup? Yes, should be pretty easy, though it raises some usability questions.
Could you describe a bit more of what you want done, and how you plan the workflow to be?
Thanks for getting back to me so quickly, I appreciate it! I use the folder calculation size all the time to see what folder I can move/delete to free up needed drive space. In Total Commander, I can either just tap Space on a single folder to see its (and its subfolders) file size (like you do with a hover in Dopus) or I can use a button for a function that shows the sizes of all folders in the directory in the file size column. So, I appreciate both the ease of use and the speed, since the calculations come from Everything and are instantaneous. A popup, in my opinion, would only make sense, if you could interact with the folders inside of it, since in TC I can sort the folders by file size and then decide and pick the largest to move/delete. Maybe a Dopus developer could chime in on this? Again, thanks for your time, Zoc!
A script column could get folder sizes from Everything. For smaller folders, however, it will be slower than Opus itself because of the overhead associated with calling Everything.
Hey Ixp, thanks for dropping in! I know of the functionality, but it is infinitely slower than Everything for folders with a lot of content, for small folders it doesn't really matter anyways. E.g. on a Non-SSD conventional file size calculation for folders with 10s or 100s K of files might take minutes whereas through Everything it's almost instantaneous. Once you've dug into Everything a bit more, know some advanced syntax and so on, it really is absolutely irreplaceable in a lot of scenarios.