F2 F3 in SearchBox

Discussion related to "Everything" 1.5 Alpha.
Post Reply
Stamimail
Posts: 1122
Joined: Sat Aug 31, 2013 9:05 pm

F2 F3 in SearchBox

Post by Stamimail »

F2 in SearchBox opens "Advanced Search...".

I think F3 is expected for "Advanced Search...".
F2 in SearchBox will open "Advanced Rename..." in Text Mode:
The user will be able to type or paste an input to "Old Filenames:" box, and will get the output in "New Filenames:" box. OK button will be disabled = no rename, or will rename the Search Box.

By the way, make a checkbox button in the Rename dialog for simultaneous scrolling of Old and New Filenames: boxes.
void
Developer
Posts: 16669
Joined: Fri Oct 16, 2009 11:31 pm

Re: F2 F3 in SearchBox

Post by void »

F2 is commonly "edit".
The advanced search does edit the search.

F3 is reserved for the future find in results feature.

Ctrl + F3 might work as a default?

To change the keyboard shortcut for advanced search to F3:
  • In Everything, from the Tools menu, click Options.
  • Click the Keyboard tab on the left.
  • To the right of show command containing, type in: advanced
  • Select Search | Advanced Search....
  • Click Add....
  • Press F3 and click OK.
  • Click OK.

F2 in SearchBox will open "Advanced Rename..." in Text Mode:
The user will be able to type or paste an input to "Old Filenames:" box, and will get the output in "New Filenames:" box. OK button will be disabled = no rename, or will rename the Search Box.
I will consider F2 to open the advanced rename in text mode.


By the way, make a checkbox button in the Rename dialog for simultaneous scrolling of Old and New Filenames: boxes.
I'll look into synchronizing the scrolling between the old filename list and the new filename list.

Thank you for your suggestions.
Stamimail
Posts: 1122
Joined: Sat Aug 31, 2013 9:05 pm

Re: F2 F3 in SearchBox

Post by Stamimail »

F2 is commonly "edit".
The advanced search does edit the search.
I don't remember programs that use F2 in similar way.
I guess if the advanced search had looked different, I could have understood its connection to F2.
F3 is reserved for the future find in results feature.

Ctrl + F3 might work as a default?
So this discussion is better to have later, after you complete the find feature.
F3 is also intuitive way to move from the results list to the SearchBox - as in Windows Explorer.
horst.epp
Posts: 1443
Joined: Fri Apr 04, 2014 3:24 pm

Re: F2 F3 in SearchBox

Post by horst.epp »

Stamimail wrote: Sun Jul 17, 2022 1:08 pm
F2 is commonly "edit".
The advanced search does edit the search.
I don't remember programs that use F2 in similar way.
Many popular file managers are using F2 to start the rename of the current item.
Stamimail
Posts: 1122
Joined: Sat Aug 31, 2013 9:05 pm

Re: F2 F3 in SearchBox

Post by Stamimail »

horst.epp wrote: Sun Jul 17, 2022 1:17 pmMany popular file managers are using F2 to start the rename of the current item.
... compared to Everything that using F2 in SearchBox to open "Advanced Search" dialog...
Stamimail
Posts: 1122
Joined: Sat Aug 31, 2013 9:05 pm

Re: F2 F3 in SearchBox

Post by Stamimail »

Stamimail wrote: Fri Jul 15, 2022 2:42 pmF2 in SearchBox will open "Advanced Rename..." in Text Mode:
I came to suggest making a checkbox for text mode, and I noticed that I already wrote on this topic...

I've noticed I can add non-exists-file by:
Everything.exe -rename non-exists-file.txt

But unfortunately, I can't type or paste directly in Old Filenames box.

Another question to be asked:
What about letting users to make/save/delete Presets?
void
Developer
Posts: 16669
Joined: Fri Oct 16, 2009 11:31 pm

Re: F2 F3 in SearchBox

Post by void »

I will consider text-mode option for the advanced-renamer.

For now, please try drag-dropping files onto the old filenames box.
The advanced-renamer is non-blocking so you can go back to Everything to search for more files to drag-drop.



Presets are on my TODO list.

Thank you for the suggestions.
therube
Posts: 4955
Joined: Thu Sep 03, 2009 6:48 pm

Re: F2 F3 in SearchBox

Post by therube »

What about letting users to make/save/delete Presets?
You can set up a set of (read-only) "presets'.

Code: Select all

:: Everything Rename "stand-alone" or "SendTo" or ...

:: Requires >= Everything 1.4.1.791
:: Requires a minimum of 2 files
:: Might run into an ~2048 command line character length limitation
:: http://stackoverflow.com/questions/3205027/maximum-length-of-command-line-string

:: SjB 11/04/2016


echo %*
echo %* > C:\DEV\Locate\Everything_Rename\dumy

pause

START "" C:\DEV\Locate\15.1355\Everything.exe  -config Everything_Rename.ini  -rename %*


:: -rename %*, has to be the last parameter
:: you could use an -instance name (which i'll suppose) would then pick up on an existing INSTANCE.ini (so no need for -config)
:: you can actually leave out -config, & with no -instance, then, simply the "default" .ini name is used, Everything-1.5a.ini
-config Everything_Rename.ini (in my case) simply points to a "rename" specific (read-only) .ini where I have (manually) "pre-loaded" specific rename settings & old/new "pairings".

Everything_Rename.ini:

Code: Select all

Please make sure Everything is not running before modifying this file.
[Everything]
rename_ignore_extension=1
rename_old_format_history=%1 - %2;%1-%2;%1
rename_new_format_history=%2 - %1;%2-%1;%1   dupme
Stamimail
Posts: 1122
Joined: Sat Aug 31, 2013 9:05 pm

Re: F2 F3 in SearchBox

Post by Stamimail »

void wrote: Wed Sep 06, 2023 11:33 pm I will consider text-mode option for the advanced-renamer.

For now, please try drag-dropping files onto the old filenames box.
The advanced-renamer is non-blocking so you can go back to Everything to search for more files to drag-drop.
I wanted to edit/rename content of filelist.txt (and some other docs)
I needed copy/paste for that.


When I'm trying to open filelist.txt by
File -> Open File List... Ctrl+O
I can select filenames and F2 to run the renamer.
BUT
I think there is a critical mistake occurs here.
I don't know what others want, but I WANT to edit/rename the content of filelist NOT THE FILE SYSTEM.

It's not clear to the user, that when he clicks OK, actually the filenames in Everything won't be renamed, what will be renamed will be filenames on the PC.

I think it MUST NOT work like that.
therube
Posts: 4955
Joined: Thu Sep 03, 2009 6:48 pm

Re: F2 F3 in SearchBox

Post by therube »

I wanted to edit/rename content of filelist.txt
Well, Everything Rename, renames file names, not the contents therein.


I suppose (?) it is conceivable to load "text" into Old Filenames:, enter your New Format:, have the changes reflected in New Filenames: (as it would), & copy that, then replace that in your source document (filelist.txt), but... isn't that what (text) editors are for.

(And there are some that can do much of what Everything does.
Everything probably holds an advantage in being able to do Properties, or at least to a greater extent then most editors...)
Stamimail
Posts: 1122
Joined: Sat Aug 31, 2013 9:05 pm

Re: F2 F3 in SearchBox

Post by Stamimail »

If there is any concern in directly editing the (content of) file list file, there is a solution for this:

In filelist mode, after renaming, the indicator of filelist mode will be changed:
filelist.efu --> *filelist.efu
filelist.txt --> *filelist.txt

Changes will be made only in Everything (Results pane). No changes to File System.
The user will be able to save the changes by File -> Export...


What is the name of the editing style in Everything Rename, anyway?
It's not the regular style of "find and replace" you usually have in text editors.
void
Developer
Posts: 16669
Joined: Fri Oct 16, 2009 11:31 pm

Re: F2 F3 in SearchBox

Post by void »

The main Everything search window is not designed to edit file lists.
Everything treats the files in file lists as offline.

I will consider removing the rename/move/delete context menu items for file lists.
There's a few cases where these options are still useful for users that schedule updates on their file lists.

I will consider a "Edit File List Entry" context menu item.



Use folder indexing for online files.



Use the File List Editor (under the Tools menu) to edit your file lists.


What is the name of the editing style in Everything Rename, anyway?
Pattern matching and substitution.
It's often still referred to as "find and replace"
Stamimail
Posts: 1122
Joined: Sat Aug 31, 2013 9:05 pm

Re: F2 F3 in SearchBox

Post by Stamimail »

The main Everything search window is not designed to edit file lists.
I wish it will.
There is a lot in common. It seems almost a duplicate.
File List Editor doesn't support some features like Advanced Rename (for editing the filelist).
Everything treats the files in file lists as offline.

I will consider removing the rename/move/delete context menu items for file lists.
There's a few cases where these options are still useful for users that schedule updates on their file lists.
Filelists cannot be an alternative to Folders or Network Index. It shouldn't be linked to file system.

Maybe the solution will be:
In order to link the filelist to file system (changes will be applied to file system), the user will have to use Options -> Indexes -> File Lists.
(Consider calling it Linked File Lists)
File -> Open File List... will not link the filenames of filelist in Results pane to file system. (changes will be applied to content of filelist file).


I would prefer that you integrate the File List Editor into the main Everything search window.
If not possible, I think the "File -> Open File List... " command should open the file list in the File List Editor, and not in the main Everything search window.
void
Developer
Posts: 16669
Joined: Fri Oct 16, 2009 11:31 pm

Re: F2 F3 in SearchBox

Post by void »

I will consider Linked File Lists.

Thank you for the suggestions.
Stamimail
Posts: 1122
Joined: Sat Aug 31, 2013 9:05 pm

Re: F2 F3 in SearchBox

Post by Stamimail »

I forgot to mention (although it's a bit obvious),
If the filelist is already indexed in the index of drive c for example, and the user wants a Linked File List, he should filter by using the filelist: command in Serach Box.

Code: Select all

filelist:
btw,
Shouldn't there be a tooltip that pops up, when you type filelist: ?
How is the user supposed to know that he should Ctrl+Click on filelist:
therube
Posts: 4955
Joined: Thu Sep 03, 2009 6:48 pm

Re: F2 F3 in SearchBox

Post by therube »

filelist:
Oh, that filelist:.
(And I use sizefilelist1: all the time.)
How is the user supposed to know that he should Ctrl+Click on filelist:
RTFM ;-).
(Actually, the answer is that is just 1 tidbit you pick up on from reading the forums.
Otherwise, it is totally not apparent.)

Also, as you mentioned above, F2.
F2 in SearchBox to open "Advanced Search" dialog
void
Developer
Posts: 16669
Joined: Fri Oct 16, 2009 11:31 pm

Re: F2 F3 in SearchBox

Post by void »

Tooltips for search functions are still on my TODO list.

At some stage I would like to collapse filelist:<a really long list of filenames;...>
to:
filelist:...

where ... is a clickable button to open the file list editor.
Same with file list slots.

I'll look into updating the Advanced Search -> Search for a list of filenames to show the file list editor (instead of browse).
void
Developer
Posts: 16669
Joined: Fri Oct 16, 2009 11:31 pm

Re: F2 F3 in SearchBox

Post by void »

Everything 1.5.0.1357a changes the "Search for a list of filenames" in the Advanced Search to use the list editor.

Previously "Search for a list of filenames" had a browse button to select a file to import a list of filenames.



Click the ... to the right of "Search for a list of filenames" to show the list editor.
Click the Import... button in the list editor to import a list of filenames from a file.
Post Reply