Amongst other things I was getting really frustrated with windows awfull habit of allowing you to add ratings, tags, description to some files and not others so I set out to work on this Project:
A plug-in to bridge allot of gaps between Everything, Directory Opus and Powershell. Some of these gaps are:
- A MetaData system that is universal to every file in the file system, that is part of the file, that can be be accessed in Everything, Directory Opus, Powershell.
- Query selected Everything objects in Powershell and Directory Opus
- Send selected objects\current directories of Directory Opus to Everything or Powershell and vise versa
- etc etc
Code: Select all
Set-Metadata -Path ".\My image 1.psd" -Notes "Vannician Summer"
Below is another example, this time prefixig "Italian, " to the Notes column:
Code: Select all
sm -path ".\My image 1.psd" -pNotes "Italian, "
In this example I can query the state of an Opus window, which allows me create the same opus view in everything using a hotkey, Open a folder with the exact selection:
Notice I can restore the previous everything state (including active selection) neat feature of everything history.
but in trying to do the same in reverse (send same everything view and active selection to Opus) I am starting to run into limitations querying the state of an everything window. The way I am able to get Opus to send everything is its open folder and selection is through its tool DopusRT:
Code: Select all
dopusrt.exe /info test.txt,list
Code: Select all
<?xml version="1.0"?[quote][/quote]
<results command="list" result="1"[quote][/quote]
<items display_path="C:\Temp" lister="0x2b0962" path="C:\Temp" tab="0x81d64"[quote][/quote]
<item id="1" name="ESDUMP 1.efu" path="C:\Temp\ESDUMP 1.efu" sel="0" type="0" /[quote][/quote]
<item id="2" name="ESDUMP 2.efu" path="C:\Temp\ESDUMP 2.efu" sel="1" type="0" /[quote][/quote]
<item id="3" name="ESDUMP 3.efu" path="C:\Temp\ESDUMP 3.efu" sel="0" type="0" /[quote][/quote]
<item id="4" name="My Image 1.psd" path="C:\Temp\My Image 1.psd" sel="0" type="0" /[quote][/quote]
<item id="5" name="My Image 2.psd" path="C:\Temp\My Image 2.psd" sel="1" type="0" /[quote][/quote]
<item id="6" name="My Image 3.psd" path="C:\Temp\My Image 3.psd" sel="0" type="0" /[quote][/quote]
<item id="7" name="New Folder" path="C:\Temp\New Folder" sel="0" type="1" /[quote][/quote]
</items[quote][/quote]
</results[quote][/quote]
With the above information I can do many things, for example make a selection in Opus, call my command bar and then apply MetaData to selected files or all files in view:
Everything has its own share of versatile list generation means:
But from the tests I performed, they are not available for use in the Everything64.exe command line tool.
further more, this does not include a key/ property for selected files among un selected files.
Finally, Directory Opus provides means to set an icon for any file. This new icon is then used in details view for that file:
The above is not system wide but in Opus only, which is fine I never touch explorer or even Save As/Open... dialogs...But this change is not in sync with Everything either.
With that said I would like to kindly ask for two features from Mr Void.
Feature 1
a means to generate the above file lists (especially xml and json) based on the current state of an everything GUI window, using the Everything64.exe cli tool, with the following options:
- to specify a column/Property for selected files among unselected files
- to specify what everything GUI columns/properties should be included in the file list.
- to specify how many rows the file list should have
It would extremely usefull to be able to specify what columns to inlcude in the command line tool.
Because at any given time there could be millions of files in view, there should be an option to specify how many rows a file list should have. This would help performance allot.
Feature 2
A means to specify an icon for a file or folder via command line. This icon would then be used in details view for that file. This would allow me to call Everything64 command line at the same time I am changing a files icon in Directory Opus. Or even call it when a Everything window is active.
This would mean that Directory Opus and Search Everything are in sync at all times.
Looking at the forum, Void had implented this solution for attaching tags to files in Everything Properties - :
Code: Select all
C:\Photos\picture1.jpg,beach;sunny
C:\Photos\picture2.jpg,rain;flower
Other than that, I would just like to thank you for working on this amazing tool.
--------------------------------------------------------------------------------------------
PS:
Maybe the information I want is accessible in the everything SDK but am really not that much of an advanced programmer...yet. So I can only work with:
- Powershell
- Autohotkey
- Filelists manupalation