Search Commands

Discussion related to "Everything" 1.5 Alpha.
Locked
void
Developer
Posts: 15659
Joined: Fri Oct 16, 2009 11:31 pm

Search Commands

Post by void »

Everything 1.5 search commands.

To use search commands, type in one of the following commands in the search box and press ENTER:
-or-
Use a bookmark and set the search to one or more of the following commands.
Opening bookmarks will execute the search command without setting the search.
Use Alt + Enter to separate multiple search commands.



about:
Show the about dialog.



about:about
about:help
about:?
Show this help.



about:access-denied
about:service
Show service options to index NTFS volumes.



about:bookmarks.csv
Open the Bookmarks.csv file location.



about:config
Open the user Everything.ini
Monitors the Everything.ini for changes and will notify user to reload if changed.



about:credits
Show the Everything credits.



about:exe
about:exe-location
about:everything.exe
Open the Everything.exe file location.



about:db
Show database statistics.



about:db-location
about:everything.db
Open the Everything.db file location.



about:debug-log
Open the Everything Debug Log.txt file location.



about:filters.csv
Open the Filters.csv file location.



about:history
about:search-history
Show all search history.



about:run-history
Show all run history.



about:home
Load the home search.



about:ini-location
about:everything.ini
Open the Everything.ini file location.



about:journal
Show the Index Journal.



about:keys
Show current key bindings.



about:license
about:licence
Show the Everything license



about:macros.csv
Open the Macros.csv file location.



about:plugins.ini
Open the plugins.ini file location.



about:preferences
about:options
about:settings
Show the options window



/add-col <property-list>
/add-column <property-list>
/add-columns <property-list>
Add the specified columns by a semicolon (;) delimited list of property canonical names.
For example:
/add-columns width;height;length
See also: /columns and /remove-columns



/add-search <text>
/append-search <text>
Add text to the end of the search box.
A space is automatically included if necessary.



/close
Close the active search window.



/close-all
Close all search windows.



/cls
Clear the debug console.



/columns <property-list>
Set the columns with a semicolon (;) delimited list of property canonical names.
-or-
Set the columns with a json array of column objects.
For example:
/columns name;path;size;date-modified;width;height;length
/columns [{"name":"Name","width":330},{"name":"Path","width":330},{"name":"Size","width":46},{"name":"Date Modified","width":99}]
See also: /add-columns and /remove-columns



/config-save [filename]
Save configuration.



/config-load [filename]
Load configuration.



/command <id>
Execute a semicolon delimited list of commands by name or ID
For example:
/command 41003
/command 40017;40017;40017
/command "File | New Window";"File | New Tab"



/comment <text>
Does nothing.
Useful for bookmark comments.
/comment My bookmark comment



/copy [text]
Copies the current file/folder selection to the clipboard and applies formatting.
Use $property-name: to insert properties.
Use the search preprocessor to apply formatting.
Each file/folder is separated with a new line (\r\n).
For example:
/copy $full-path:,$date-taken:

See also: /copy-header



/copy-header [header-text]
Specify the header text to use with the next call to /copy
The header is cleared after the next /copy call.
For example:
/copy-header Filename&tab:Date Taken
/copy $full-path:&tab:$date-taken:



/debug
Toggle debug mode.



/debug-log
/start-debug-logging
Enter debug mode and log to Everything Debug Log.txt



/define <name>=<search>
Define a macro.
For example:
/define foo=bar
When searching for foo: it is now replaced with bar
All macros are listed in the status bar if name is not defined.
Omit the = to show the current definition.
For example:
/define foo
foo=bar is shown in the status bar.
Undefine a macro with /undef



/delete-db
Delete the database and backup database from disk.



/disable-alternate-row-color
Disable alternate row colors.



/disable-omit-results
Disable omit results.



/disable-temp-omit-results
Disable temporary result omissions.



/enable-alternate-row-color
Enable alternate row colors.



/enable-omit-results
Enable omit results.



/enable-temp-omit-results
Enable temporary result omissions.



/eval <formula>
/=<formula>
Evaluate formula and set the search to the result.



/exit
/quit
Exit Everything.



/exit-now
/quit-now
Exit Everything without saving settings and data.



/expand <text>
/set-search <text>
/#preprocessor-function:text
/[preprocessor-function:text]
/preprocessor-function:text
Set the search to the result from preprocessor expansion.
For example:
/len:abc 123
/clipboard:
Search Preprocessor
$currentsearch: is replaced with the current search text
$cursel: is replaced with the currently selected search text



/explore <folder>
Open the folder sidebar and select the specified folder.



/explore-path <filename>
Open the folder sidebar and select the specified filename.
The parent folder is selected in the folders sidebar and the specified file/folder is selected in the result list.



/explore-subfolders
/explore-no-subfolders
/no-explore-subfolders
Explore subfolders or don't explore subfolders in the folder sidebar.



/focus <id>
Focus the specified window by control ID.



/help
Show Everything help.



/hide-filter-bar
Hide the filter bar.



/hide-filters
Hide the filters sidebar.



/hide-folders
Hide the folders sidebar.



/hide-header
Hide the result list header.



/hide-menu-bar
Hide the menu bar.



/hide-preview
Hide the preview pane.



/hide-status-bar
Hide the status bar.



/<ini-setting-name>=<value>
Set the configuration key to a value.
A restart might be required for changes to take effect.
Use ! as the value to toggle the ini setting.
Use a semicolon (;) delimited list to specify multiple key=value pairs. (only works for non-string values)
Use TAB from the search box to auto complete the ini-setting-name.



/load <filename>
Load a search from a text/plain file.



/maximize
Maximize the search window.



/minimize
Minimize the search window.



/minimize-all
/unminimize-all
Minimize or unminimize all search windows.



/monitor-pause
Stop updating results and continue monitoring changes to indexes.



/monitor-resume
/monitor-start
Update results to reflect changes to indexes.



/monitor-stop
Stop monitoring changes to indexes.



/new-tab
Create a new tab.


/new-window
Create a new window.



/open <filename>
Opens the specified file/folder in the result list.
If the filename is an number, the zero-based result from the specified number is opened.



/refresh
Invalidate all gathered un-indexed properties.



/reindex [path]
/rebuild [path]
Force a rebuild for all indexes or the specified index.
[path] supports *, ** and ? wildcards.



/remove-column <property-list>
/remove-columns <property-list>
Remove the specified columns by a semicolon (;) delimited list of property canonical names.
For example:
/remove-columns size;date-modified
See also: /add-columns and /columns



/replace-sel <text>
Paste text into the search box after preprocessor expansion.
For example:
/replace-sel #today:
$cursel: is replaced with the currently selected search text.
$clipboard: is replaced with the text content from the clipboard.
Works best from a bookmark with a keyboard shortcut.



/restart
Restart Everything.


/restart-as-admin
Restart Everything as administrator.



/restart-debug-log
Restart Everything in debug logging mode.



/restart-now
Restart Everything without saving settings and data.



/restart-now-debug-log
Restart Everything without saving settings and data.
The restarted Everything will run in debug logging mode.



/rescan [path]
/update [path]
Rescan all FAT, network drive and folder indexes or the specified FAT, network drive or folder index.
The specified path does not have to be the root path, for example, if you are indexing a
network share \\server\share and only wish to rescan \\server\share\subfolder use /rescan \\server\share\subfolder



/restore-previous-session
Restore a the previous session.



/restore-session <session.json>
Restore a session from the specified JSON file.
If no filename is specified a dialog is shown to select a JSON file.
For example:
/restore-session "C:\Everything\Sessions\My Fancy Session.json"



/save-db
Start saving the database to disk in the background.



/save-db-now
Save the database to disk now.
Does not return until the database is saved to disk.



/search_edit_paste [remove-punctuation] [or-newlines] [multiline-type] [multiline-group]
paste clipboard text into the search box with the specified formatting.

remove-punctuation
0 = Preserve punctuation (default)
1 = Remove punctuation

or-newlines
0 = Insert a space between lines
1 = Insert OR operator: | between lines (default)

multiline-type
0 = Paste search text as is (default)
1 = Paste text as filenames (escapes operators)
2 = Paste text as names (escapes operators)
3 = Paste text as stems (escapes operators)
4 = Paste text as a filelist:
5 = Paste raw text as is (no grouping or character escaping)

multiline-group
0 = Do not use < and > grouping
1 = Wrap the entire pasted text inside a < and > group (default)

For example, paste the stem from multiple filenames:
/search_edit_paste 0 1 3



/select <filename>
Select the specified file/folder in the result list.
If the filename is an number, the zero-based result from the specified number is selected.



/select-all
Select all files/folders in the result list.


/show-filter-bar
Show the filter bar.



/show-filters
Show the filters sidebar.



/show-folders
Show the folders sidebar.



/show-header
Show the result list header.


/show-menu-bar
Show the menu bar.



/show-preview
Show the preview pane.



/show-status-bar
Show the status bar.



/stop-debug-logging
Exit debug mode and show the Everything Debug Log.txt



/toggle-alternate-row-color
Toggle the alternate row colors.



/toggle-filter-bar
Toggle the filter bar.



/toggle-filters
Toggle the filters sidebar.



/toggle-folders
Toggle the folders sidebar.



/toggle-header
Toggle the result list header.



/toggle-menu-bar
Toggle the menu bar.



/toggle-omit-results
Toggle omit results.



/toggle-preview
Toggle the preview pane.



/toggle-status-bar
Toggle the status bar.



/toggle-temp-omit-results
Toggle temporary result omissions.



/undef <name>
Undefine a macro.



/view-details
Set the result list to detail view.



/view-thumbnails [size]
Set the result list to thumbnail view.
Optionally specify the thumbnail size in logical pixels.



/verbose
Enable verbose debug logging.



/window-size <width> <height>
Set the window client size in logical pixels.
If only one value is specified the value is used as the height and width is calculated from the auto_size_aspect_ratio.
If no values are specified the current dimensions are shown in the status bar.
For example:
/window-size 640 480



Dashes (-) in commands can be omitted.



Everything 1.4 search commands
void
Developer
Posts: 15659
Joined: Fri Oct 16, 2009 11:31 pm

Re: Search Commands

Post by void »

void
Developer
Posts: 15659
Joined: Fri Oct 16, 2009 11:31 pm

Re: Search Commands

Post by void »

void
Developer
Posts: 15659
Joined: Fri Oct 16, 2009 11:31 pm

Re: Search Commands

Post by void »

Everything 1.5.0.1316a improves the following commands:

/rescan [path]
/reindex [path]
void
Developer
Posts: 15659
Joined: Fri Oct 16, 2009 11:31 pm

Re: Search Commands

Post by void »

void
Developer
Posts: 15659
Joined: Fri Oct 16, 2009 11:31 pm

Re: Search Commands

Post by void »

Everything 1.5.0.1320a adds the following search commands:

/refresh
about:access-denied
void
Developer
Posts: 15659
Joined: Fri Oct 16, 2009 11:31 pm

Re: Search Commands

Post by void »

Everything 1.5.0.1325a adds the following search commands:

/add-search <text>
void
Developer
Posts: 15659
Joined: Fri Oct 16, 2009 11:31 pm

Re: Search Commands

Post by void »

Everything 1.5.0.1331a adds the following search commands:

/copy [text]
void
Developer
Posts: 15659
Joined: Fri Oct 16, 2009 11:31 pm

Re: Search Commands

Post by void »

void
Developer
Posts: 15659
Joined: Fri Oct 16, 2009 11:31 pm

Re: Search Commands

Post by void »

void
Developer
Posts: 15659
Joined: Fri Oct 16, 2009 11:31 pm

Re: Search Commands

Post by void »

Everything 1.5.0.1360a makes the following changes:

/eval and /= will now use Formulas
void
Developer
Posts: 15659
Joined: Fri Oct 16, 2009 11:31 pm

Re: Search Commands

Post by void »

Everything 1.5.0.1361a makes the following changes:

/eval and /= will now format double results correctly.



Added the following search commands:
/focus <id>
/search_edit_paste <remove-punctuation> <or-newlines> <multiline-type>
void
Developer
Posts: 15659
Joined: Fri Oct 16, 2009 11:31 pm

Re: Search Commands

Post by void »

Everything 1.5.0.1362a adds the following search commands:

/new-tab
/new-window
/restart-as-admin
void
Developer
Posts: 15659
Joined: Fri Oct 16, 2009 11:31 pm

Re: Search Commands

Post by void »

Everything 1.5.0.1364a makes the following changes:

/eval and /= will no longer auto cast to a double result.
Use a value with a decimal to cast to floating point.
void
Developer
Posts: 15659
Joined: Fri Oct 16, 2009 11:31 pm

Re: Search Commands

Post by void »

Everything 1.5.0.1367a adds the following search commands:

/add-col
/add-column
/add-columns
/columns
/remove-column
/remove-columns
/maximize
/minimize
/search_edit_paste [remove-punctuation] [or-newlines] [multiline-type] [multiline_group]
void
Developer
Posts: 15659
Joined: Fri Oct 16, 2009 11:31 pm

Re: Search Commands

Post by void »

void
Developer
Posts: 15659
Joined: Fri Oct 16, 2009 11:31 pm

Re: Search Commands

Post by void »

Everything 1.5.0.1374a adds the following search commands.

/columns (added support for json array of column objects)
/search_edit_paste (added support for raw text)
/comment
/set-search (alias)
void
Developer
Posts: 15659
Joined: Fri Oct 16, 2009 11:31 pm

Re: Search Commands

Post by void »

Locked