Do I do it correctly?

If you are experiencing problems with "Everything", post here for assistance.
Post Reply
Stamimail
Posts: 1121
Joined: Sat Aug 31, 2013 9:05 pm

Do I do it correctly?

Post by Stamimail »

I tried:
custom_verb01="Scan with Microsoft Security Essentials..."
and
custom_verb01=Scan with Microsoft Security Essentials...

and set a hotkey to FIle| Custom Verb 1

it didn't work for me.
horst.epp
Posts: 1338
Joined: Fri Apr 04, 2014 3:24 pm

Re: Do I do it correctly?

Post by horst.epp »

What command line have you defined for your custom verb ?
Its of course not enough to just define a title.
Stamimail
Posts: 1121
Joined: Sat Aug 31, 2013 9:05 pm

Re: Do I do it correctly?

Post by Stamimail »

horst.epp wrote:What command line have you defined for your custom verb ?
Its of course not enough to just define a title.
Where you expect me to define it?
I'm trying to use an existing Verb in my context menu.
NotNull
Posts: 5232
Joined: Wed May 24, 2017 9:22 pm

Re: Do I do it correctly?

Post by NotNull »

Stamimail wrote:I tried:
custom_verb01="Scan with Microsoft Security Essentials..."
I guess you got that entry from the context-menu?

Here's how the context-menu is built-up for anyvfiletype, let's say a .txt file
  • Read HKCR\.txt
  • Read HKCR\*
  • Read HKCR\AllFileSystemObjects (but let's forget about that one ..)
For all those keys read what's configured under Shell (see also viewtopic.php?f=2&t=6974#p22535)
Those are the static contextmenu entries. Here you have to define which program to run with this filetype (innthis case: notepad.exe)

Beside static contextmenu entries, there are als dynamic contextmenu entries. Here tye control is passed to a COM object (a piece of code, specialized in one specific object and a limited amount of "tasks"; mostly in the form of a .DLL)
In this case: scanning a file/folder with Securiy Essentials

In the registry you can fnd thos COM objects under ShellEx, instead of Shell.
For Security Essentials you can find them under HKCR\*\shellex\ContextMenuHandlers (otherwise it had to be defined for every possible fileextension; even for the non-existing .qzwp3--w file extension).

Sometimes i's not obvious which COM object is referenced (no descriptive text).
In that case, follow the 'chain':
If there is a GUID ({423421344} defined as (default) setting, look up HKCR\CLSID\{423421344}\InprocServer32 and you find which DLL (COM object) is involved. Most of the times you get what this will do by looking at the ile decription (properrties).


Finally, the point :) : You can't use those in Everything; thyare for programmatic access. You can only use the static vrbs that are defined under the Shell registrykey.


EDIT: The Scan with .. is most of the times *not* the verb; it is a localized menu entry (it will probably look different on a Hebrew Windows). But the verb is always the same.


EDIT2:But there is good news: Security Essentials has a command-line interface (see https://answers.microsoft.com/en-us/pro ... e7ec539fc7)
Now you can create your own static contextmenu entry under HKCR\*\Shell and use that in Everything with customverb1=... :D
Post Reply