Still no success.
Yes, i had checked that, of course, but the ini looks different here. That shouldn't make a big difference, though.
already set. Problems with some folders! Not all
Run this command via cmd, and then the file D:\test.txt
should be generated.
"C:\Program Files\Everything 1.5a\es.exe" -size -no-header -parent "D:\" /ad -export-csv D:\test.txt
download the LAST version of es.exe, that was my trouble when i got zeros.
!!! as Leo says: Everything.exe and es.exe are not the same
I briefly see some window popping up, but no CSV is created. I happen to have some drive D:.
Deleted, finally found it!
Edit: the latest es.exe did the trick, got it working now! Thanks, lxp, and thanks guys!
And yes, it is considerably quicker now, if not so say almost instantaneous.
By the way, is there maybe a way to include an auto-refresh in your code?
Well, if I were the focus on a system with that color concept, I'd go mad as well. I, too, would run away, probably even further, and on all folders
Seriously, can't recognize the problem, but wouldn't be surprised if dark mode carries somehow part of the responsibility.
If you tell me how I can reproduce these effects on my system I'll dig into it.
It looks like the new folder is read, focus is on the first item, then the list is sorted when the size data comes in, and focus stays on that item, which moves elsewhere in the list.
Preferences / File Displays / Options / Reset focus entry when sorting file list should keep focus in the same position, rather than on the same item, when that happens, although I haven't tried it with a script column.
In which situations would you benefit from an auto-refresh? It can't be as comfortable as the updates the file displays provide when files change, because scripts are not part of the internal communication system (this would also be a performance problem). We would need to pick an additional event to trigger the refresh. Candidates are OnActivateLister
and OnActivateTab
. See here for a complete list:
Seems i had a wrong assumption, that the refresh has to be done every time when visiting the folder. But now i found, that the EFS column practically "auto-updates" already, whenever i visit that tab/folder.
it's not a dark mode's problem, normal mode makes the same. and it's just my first attempt, decided to try dark mode for some days) maybe i'll like it
it's not so hard to reproduce: go to any long listed folder...
focusing shows correctly only for those folders that got into the first unsorted view (for ex., from A to D).
Reset focus entry when sorting file list is turned on, as also "Select previous..."
the situation with prev pict (going to the last item in lister) is happening when "shift+wheel go back" is clicked. when i use a backspace button - it changes a little, it goes to the middle of lister (possibly, when unsorted item must be the last in view)
I have some problems to get the script working:
When opening Dopus, the log stated:
19.06.23 12:42 UpdateEverythingFolderSize: "C:\PortableApps\Everything\es.exe" found!
19.06.23 12:42 UpdateEverythingFolderSize: Column "EverythingFolderSize" not in this file display - nothing to do!
When activating the button,
a column EFS is shown in the lister, but the column EFS ist empty:
It would be also great if somebody could explain me the following code:
Set COLUMNSTOGGLE="scp:EverythingFolderSize/EverythingFolderSize(2+Name,a,0)"
specially the part scp:EverythingFolderSize/EverythingFolderSize
. I don't understand the meaning of scp:
and the slash "/" ind the string. As far as I understood, it does not match the documentation given in Documents/Set.htm.
I assume that "EverythingFolderSize" is the name of the column in the Lister. If I change the name of the column, do I also have to change it here?
Looks like you are not running the latest version. Just download the two files from the first post and you should be ok.
That's Opus standard notation for script columns
I'm sure that I have the latest version. I downloaded it from the first post and removed the extension .txt
.
By the way: It is really necessary to have two JS-script files ColumnEverythingFolderSize.js
and EventUpdateEverythingFolderSize.js
? Wouldn't it be easier to have the complete code in only one file?
The logs you posted are from an older version. Maybe you forgot to delete them?
Would probably work. I haven't tested it. If you feel frisky - try it and report back
I did the following steps:
- Deleted the old files in
...\AppData\Roaming\GPSoftware\Directory Opus\Script AddIns
- Download the files from your first post
- Copy the files
.. \AppData\Roaming\GPSoftware\Directory Opus\Script AddIns
- Delte the extension
.txt
- Restarting DOPUS
- No
Script Output
messages anymore - Click on the button shows a new column
EFS
in the lister, but complete empty
I give up: it does not work (for me) and so it is not useful for me.
Thanks for your time.
Yes. Everything gets its data directly from the MFT. It's not aware of Opus and works completely independently.
Check out some of the previous posts to make sure es.exe returns results.