Opening multiple file types at once

Discussion related to "Everything" 1.5 Alpha.
Post Reply
nickfbr
Posts: 9
Joined: Tue Sep 07, 2021 4:33 pm

Opening multiple file types at once

Post by nickfbr »

In Everything 1.4.x i can select multiple files of different types with the Enter key. Now in 1.5 it only opens files of same type (like the windows explorer behavior). If i choose the Open command from the context menu, it tries to open all the files in the first file's default application. Can I set the default open behavior to mimic 1.4?

btw, i use this opening behavior dozens of times daily. it has become very important to my workflow.
NotNull
Posts: 5416
Joined: Wed May 24, 2017 9:22 pm

Re: Opening multiple file types at once

Post by NotNull »

Everything 1.5 changed the way files/programs are opened/started.
To use the "1.4 method" in Everything 1.5, type or paste the following in the search bar and press ENTER:

Code: Select all

/shell_execute_invoke_id_list=0
The new setting will be shown in the statusbar for a few seconds.


shell_execute_invoke_id_list=1 restores the default.
nickfbr
Posts: 9
Joined: Tue Sep 07, 2021 4:33 pm

Re: Opening multiple file types at once

Post by nickfbr »

I hate to reply with just Thank you. HOWEVER, I really appreciate your support with this amazing app.
So,
THANK YOU! :D
meteorquake
Posts: 481
Joined: Thu Dec 15, 2016 9:44 pm

Re: Opening multiple file types at once

Post by meteorquake »

That's great, helps me too. I would anticipate 1.4 is the preferred behaviour so JPGs don't get opened in notepad etc, but I wonder that there must have been a reason for altering it - d
therube
Posts: 4897
Joined: Thu Sep 03, 2009 6:48 pm

Re: Opening multiple file types at once

Post by therube »

it tries to open all the files in the first file's default application
Appears it tries to open all the files in the focused file's default application (or something along those lines).


(1.5 here.)

That's definitely odd IMO.

Can't say I use "Open" - on different file "types", particularly?

But, as it is, if I highlight a mp3 & a txt (focus on mp3), nothing happens.
(Nothing seems to happen. Nothing opens.)

If I highlight a mp3 & a txt (focus on txt), both open in my text editor.

Focus on mp3, fails:

Code: Select all

Everything
Version 1.5.0.1309a (x86)
Windows NT 6.1
Processors 8
IsAdmin 0
AppData 0
Service 1
cmdline .\everything.exe  -instance 15
SetActiveWindow failed 00000000
WM_ACTIVATE 00000000 00000000, lastfocus 010c0694, current focus 010c0694
ENTER ACTION
WM_ACTIVATE 00000001 00000000, lastfocus 010c0694, current focus 00000000
FOCUS 0
FOCUS restore
_ui_shell_IDataObjectAsyncCapability_create
ParseDisplayName C:\TMP\BRU\1-1-4501 aka the NON date -  - BLOWS UP BRU.mp3
pidl focus 07b602a8
2 pidls
get menu pidls: 2
_fndfmcb 3 00000000 00000000
cdfmc2 00000000 00000686 000004c6 000004da 00000716
got menu 07b61430
menu type 1
menu type 3
QueryContextMenu...
_fndfmcb 18 00000010 001bed14
_fndfmcb 1 00000010 001bed18
_fndfmcb 17 00000010 001bed18
_fndfmcb 14 00000000 001bec20
_fndfmcb 10 00000010 001bed18
QueryContextMenu 00000057
rem dbl sep 8
track menu 10b10bf5
default 32777
_fndfmcb 8 10b10bf5 0000001c
menu count 24
menu item info fail 87
00000000
wid 8: 85 (00000054)
VERB HashMyFiles
00000000
wid 9: 87 (00000056)
VERB sandbox
80070057
80070057
80070057
80070057
menu item info fail 87
80070057
00000000
wid 16: 25 (00000018)
VERB cut
00000000
wid 17: 26 (00000019)
VERB copy
menu item info fail 87
00000000
wid 19: 17 (00000010)
VERB link
00000000
wid 20: 18 (00000011)
VERB delete
00000000
wid 21: 19 (00000012)
VERB rename
80070057
00000000
wid 23: 20 (00000013)
VERB properties
rem dbl sep 24
idCommand 32777
_fndfmcb 4 0000001b 00000000
COMMAND 41000
_ui_shell_IDataObjectAsyncCapability_create
ParseDisplayName C:\TMP\BRU\1-1-4501 aka the NON date -  - BLOWS UP BRU.mp3
pidl focus 07b602a8
2 pidls
get menu pidls: 2
_fndfmcb 3 00000000 00000000
cdfmc2 00000000 000004c6 000006e2 000004da 00000686
got menu 07b61430
menu type 1
menu type 3
QueryContextMenu...
_fndfmcb 18 00000011 001bdae4
_fndfmcb 1 00000011 001bdae8
_fndfmcb 17 00000011 001bdae8
_fndfmcb 14 00000000 001bd9f0
_fndfmcb 10 00000011 001bdae8
_fndfmcb 4 0000001b 00000000
set 2 run history in 0.000039 seconds
exec: main thread regained focus
LEAVE ACTION
WM_ACTIVATE 00000000 00000000, lastfocus 010c0694, current focus 010c0694

Focus on txt, "succeeds" (in opening both files in a text editor [if you call that "success"]):

Code: Select all

Everything
Version 1.5.0.1309a (x86)
Windows NT 6.1
Processors 8
IsAdmin 0
AppData 0
Service 1
cmdline .\everything.exe  -instance 15
SetActiveWindow failed 00000000
WM_ACTIVATE 00000000 00000000, lastfocus 010c0694, current focus 010c0694
ENTER ACTION
WM_ACTIVATE 00000001 00000000, lastfocus 010c0694, current focus 00000000
FOCUS 0
FOCUS restore
_ui_shell_IDataObjectAsyncCapability_create
ParseDisplayName C:\WLIB\LeechFTP\LeechTMP\malwarebytes_license.TXT
pidl focus 07b6a3d0
2 pidls
get menu pidls: 2
_fndfmcb 3 00000000 00000000
cdfmc2 00000000 000006f6 0000072a 0000066e 000006ce
got menu 07b60af8
menu type 1
menu type 3
QueryContextMenu...
_fndfmcb 18 00000010 001bed14
_fndfmcb 1 00000010 001bed18
_fndfmcb 17 00000010 001bed18
_fndfmcb 10 00000010 001bed18
QueryContextMenu 00000057
rem dbl sep 8
track menu 50881ba7
default 32777
_fndfmcb 8 50881ba7 0000001c
menu count 25
menu item info fail 87
00000000
wid 8: 81 (00000050)
VERB open
00000000
wid 8: 82 (00000051)
VERB HashMyFiles
00000000
wid 9: 84 (00000053)
VERB sandbox
80070057
80070057
80070057
80070057
menu item info fail 87
80070057
00000000
wid 16: 25 (00000018)
VERB cut
00000000
wid 17: 26 (00000019)
VERB copy
menu item info fail 87
00000000
wid 19: 17 (00000010)
VERB link
00000000
wid 20: 18 (00000011)
VERB delete
00000000
wid 21: 19 (00000012)
VERB rename
80070057
00000000
wid 23: 20 (00000013)
VERB properties
rem dbl sep 24
idCommand 32777
_fndfmcb 4 0000001b 00000000
COMMAND 41000
_ui_shell_IDataObjectAsyncCapability_create
ParseDisplayName C:\WLIB\LeechFTP\LeechTMP\malwarebytes_license.TXT
pidl focus 07b6a3d0
2 pidls
get menu pidls: 2
_fndfmcb 3 00000000 00000000
cdfmc2 00000000 0000072a 000006ae 0000066e 000006f6
got menu 07b60af8
menu type 1
menu type 3
QueryContextMenu...
_fndfmcb 18 00000011 001bdae4
_fndfmcb 1 00000011 001bdae8
_fndfmcb 17 00000011 001bdae8
_fndfmcb 10 00000011 001bdae8
QueryContextMenu 0000001c
rem dbl sep 8
default id 28
hres 00000000
_fndfmcb 4 0000001b 00000000
set 2 run history in 0.000028 seconds
exec: main thread regained focus
LEAVE ACTION
WM_ACTIVATE 00000000 00000000, lastfocus 010c0694, current focus 010c0694
Missing from the failed instance, if it matters:

Code: Select all

VERB open
00000000

An open of either single file, opens them in their respective default applications.


---


"1-1-4501 aka the NON date". Yes, the file does have date modified of "1-1-4051".
(4501, 4051, who's counting?)
meteorquake
Posts: 481
Joined: Thu Dec 15, 2016 9:44 pm

Re: Opening multiple file types at once

Post by meteorquake »

If there's some bulk opening method being used, would it be best to make separate aggregations by file extension and then invoke the separate extension-lists so they open in their own associated programs - d
void
Developer
Posts: 16500
Joined: Fri Oct 16, 2009 11:31 pm

Re: Opening multiple file types at once

Post by void »

Thank you for the information.

I will revert this change.

This change was added to support opening with DropTargets (HKEY_CLASSES_ROOT\<class>\shell\open\DropTarget)
(opening multiple files at once)
Not many programs support this anyway.

This change was also added to prevent an issue with opening many selected unknown files.
For example, if you select 10 Everything.db files and click Open, you will be shown 10 'Open With' dialogs.
void
Developer
Posts: 16500
Joined: Fri Oct 16, 2009 11:31 pm

Re: Opening multiple file types at once

Post by void »

Everything 1.5.0.1311a will now execute multiple items separately when the extension differs.
Post Reply