GP SoftwareTwitter
Opus FAQsManualCommandsObjects

Tip: Organise and Speed-Up Context Menus


#1

This small tip shows how you can use Opus to rearrange the context menus you see when right-clicking files. Opus allows you to add, remove and move items, including those put there by other applications.

A new and related function has been added to Opus since the tip was made. If you hide 3rd party context menu items you can use this command to show them all in the same place (eg a submenu) without having to list each one explicitly.

Filetype CONTEXTMENU CONTEXTOPTIONS=windowsonly

If you are having trouble finding a Context Menu's CLSID in the registry you may find it easier to enable Context Menu Debugging (ContextMenuDbg) so that Opus prints out the CLSIDs of all context menu handlers that it invokes. To enable ContextMenuDbg, follow the steps in the FAQ on diagnosing a crash due to a 3rd party context menu handler, under the heading Finding The Culprit.

[Leo Davidson]



Mouse Right-Click
Can't get back Windows Context Menu
Can't get back Windows Context Menu
Contextual menu problem with tortoise CVS v1.9.x
Scan with AVG
Scan with AVG
Slow response for right-click & context menu
Easy way to customize right click context menu?
Tortoise - right click menu gone
Position of context menu item
Right Click Menu
Folder tree context menu: removing special items
Add context menu item
Replace Context Menu
Running an application from file context menu
How to clean up the context menu?
Does Opus have sub-folder tip/preview?
Does Opus have sub-folder tip/preview?
Can not make a new BrIefcase
Context Menu ''the Return"
Context menu in DO on the Desktop folder, Vista Question
Impossible to run KAV within the Dopus lister
How to clean up the context menu?
Right Click Menu
Right Click Menu
How to change Folder right-click context menu?
Clashing entries on context menu for a file
Copy item from full file context menu to dopus file context
Avast! Context Menu
DropBox Folder Context Menu?
OpenExpert
Re-order context menu?
Zip functionality for RAR files?
Windows context menu as submenu
Customize: right-click on files "context menu"
File Type Context Menu
ShellToys
ShellToys
ShellToys
Tame folder context menu in DOpus 9
Lost right click commands
Internet Shortcuts
Create Context Menu Button
All l need about 4 types of "File Create"
Changes to Context Menu
Toggle Preference Setting
Toggle Preference Setting
Adding an item to the context menu
Adding Context Menu Item To Toolbar
How to enable winrar in right context menu+ListView as...?
Edit a batch file
Add files to folder
Help to Eliminate several context menu items
Help to Eliminate several context menu items
GUID for Share with
Context Menu (files, folders) tweaking
Change context menus
Context menus in Windows and DOpus not always the same
Context menus in Windows and DOpus not always the same
How to add menus from CLSID to folder background context menu?
How to get normal folder context menu appearing as part of Lister Context menu?
Right click choices
Any simple way to reorganize and clean up context menu?
Edit Menu Order
Is there a way to manage other apps context menu items?
Manipulate context menu
Crash, exit or high CPU when right-clicking certain files
Clean-up the "all files and folders" context menu?
Firewall reports internet conn. attempts on any right click
Anyway to make Windows Context menus stay { tired of shift }
Lost Drop/Paste
#2

Hi Leo.

Not sure where that setting is located. The only things I could find are:

[ul][li] Settings>Miscellaneous>Advanced> "allow context menus*" and "ignore context menus*" - doesn’t say True or False like others but has an asterisk next to them.
[/li]
[li] Settings>Miscellaneous>Windows Integration>Hide Windows items on context menus - I do have that selected.[/li][/ul]

Is it one of those? Or something else?

Thanks!

Jim


#3

[ul][li]Settings > Miscellaneous > Windows Integration: Hide Windows items on file context menus (shift overrides)[/li][/ul]
Are you running a translated version of Opus?

I just typed "hide windows" into the filter box to find it:



#4

I´m not sure, if to ask here, but how can i force particular entries to the top? Actually i´d like even to get rid
of those four entries, since they are mostly redundant. For example »open« is done by pressing enter, i have no printer,
& the other two can be done by other means.


#5

Those top items are probably filetype verbs, which Opus's filetype editor shows on the Actions tab. They always appear at the top of the context menu.

While you can delete them it's not a good idea as you'll break anything which depends on them. The Open verb in particular should never be deleted because that is usually what gets run when the file is double-clicked (etc.).


#6

Ok, so i better leave them there. I´ve rearranged the menu, so now the Blowfish menu is at the bottom, which is also quite fast to access. I also found a nice trick, how to clean up some entries when showing the »full« context menu (pressing shift). It looks like Shellmenu & ShellExView from Nirtools can only hide stuff in the Explorer (like several Rar/7-Zip/etc entries), that still remains viewed in Opus´ context menu.

But simply adding two dashes before the CLSID, like »--{B41DB860-8EE4-11D2-9906-E49FADC173CA}« does the job. Maybe i overlooked some regular way to tweak this, but this also works quite well.


#7

Yeah, on Vista and above the Nirtools add a "blocked" registry value which Opus 9 doesn't know about. Opus 10 will see it.

That's usually fine, and is similar to what Nirtools does on XP and below (it renames the InProcServer value instead, from what I remember). It's vaguely possible that it will take out more than just the shell extension, though, if the same COM object (represented by the CLSID) implements more than just a shell extension.

A better way to block a shell extension by CLSID is to add it to Opus's blacklist: Go to Preferences - Miscellaneous - Advanced and double-click the ignore_context_menus setting. A small window will appear into which you should paste the CLSID values, including curly braces, of the extension(s) you want to exclude, one CLSID per line.


#8

Yeah, cool, thanks. I removed the dashes, making those four hidden entries visible again, & pasted the CLSIDs to that place. I knew i saw it somewhere. This way it´s easier to reactivate them again & maybe less riskier.


#9

Hello,

Can I put my question down here?

I have arranged my Opus context menu according to my taste. Using the Go FOLDERCONTENT command, I manage to include the Start Menu folder, having its contents revealed.

Now I would like to set its display order so that the files appear preceding the folders. At the moment, what is happening is vice versa.
Is there an argument for this purpose?

Thanks,


#10

You could just add another Go FOLDERCONTENT like so:

Go /desktop FOLDERCONTENT=nodirs
Go /desktop FOLDERCONTENT=nofiles

Don't put them together but seperate "actions" in the context menu. but the same sub menu.

The order you put them in will be the order they get displayed.


#11

PHPBB_IMPORT_WARNING CODE_NEAR_LI

Reading the Internal Command documentation, the Set command has a way to do so.

Set SORTORDER=files

Can this command be used in conjunction with the Go FOLDERCONTENT command?

Next questions,
[ul][li]Can the context menu be colorized? To become pink, for instance?
[/li]
[li]I found JRiver Media Center's GUID number within the registry and incorporated it to Opus context menu through

FileType CONTEXTFORCE CONTEXTMENU={GUID} command.

Its native Windows Explorer context menu does not provide the JRiver icon, hence I add it onto Opus context menu. But it is fruitless. Neither Opus context menu displays icon. Is this a kind of context menu command which falls into "come from the system but aren't provided as "static verbs" in the registry" category?[/li][/ul]


#12

PHPBB_IMPORT_WARNING CODE_NEAR_LI

[quote="mrsgil"]Set SORTORDER=files
Can this command be used in conjunction with the Go FOLDERCONTENT command?[/quote]
No...

To some extent - though perhaps not entirely what you're looking for (I think the overall background color of the context menu may be system-controlled?)...

[quote="mrsgil"][/li][li]I found JRiver Media Center's GUID number within the registry and incorporated it to Opus context menu through

FileType CONTEXTFORCE CONTEXTMENU={GUID} command.

Its native Windows Explorer context menu does not provide the JRiver icon, hence I add it onto Opus context menu. But it is fruitless. Neither Opus context menu displays icon. Is this a kind of context menu command which falls into "come from the system but aren't provided as "static verbs" in the registry" category?[/li][/ul][/quote]
It's similar to how you've guessed... when you invoke a shell extension through that command, Opus relies on the extension to provide the icon. I believe several of us have asked if it would be possible for Opus to override whatever the extension is supplying - for the case where you want the context menu extension but don't like the icon - or like seems to be your case when the extension seems not to provide an icon at all. Chime in on the Support forum if you'd like to ask GPsoft to comment on making such a change...


#13

Oh... for the colorizing options, check Preferences->Toolbars->Appearance. Have a go at the settings there under the "Use Office 2003-style for toolbars" option and see that you think. These color settings affect BOTH toolbars and context menus. If there's another place in Opus to affect the context menu colors - I don't know it off top of my head.


#14

PHPBB_IMPORT_WARNING CODE_NEAR_LI

[quote="steje"][quote="mrsgil"]Set SORTORDER=files
Can this command be used in conjunction with the Go FOLDERCONTENT command?[/quote]
No...[/quote]
After reading the internal command documentation repeatedly and playing around with it for weeks, I realize that this is true.

To some extent - though perhaps not entirely what you're looking for (I think the overall background color of the context menu may be system-controlled?)...
[/quote]
I guess so. I have tried the Office 2003-style toolbar as you recommend me but that too only goes as far as to customize the highlight and gradient colors of the context menu, not the background color which unfortunately, is what I was looking for. :neutral_face:

[quote="steje"][quote="mrsgil"][/li][li]I found JRiver Media Center's GUID number within the registry and incorporated it to Opus context menu through

FileType CONTEXTFORCE CONTEXTMENU={GUID} command.

Its native Windows Explorer context menu does not provide the JRiver icon, hence I add it onto Opus context menu. But it is fruitless. Neither Opus context menu displays icon. Is this a kind of context menu command which falls into "come from the system but aren't provided as "static verbs" in the registry" category?[/li][/ul][/quote]
It's similar to how you've guessed... when you invoke a shell extension through that command, Opus relies on the extension to provide the icon. I believe several of us have asked if it would be possible for Opus to override whatever the extension is supplying - for the case where you want the context menu extension but don't like the icon - or like seems to be your case when the extension seems not to provide an icon at all. Chime in on the Support forum if you'd like to ask GPsoft to comment on making such a change...[/quote]
Luckily, JRiver provides static verbs for each of its shell extension items. I switched to ContextMenu VERB command and it worked. The desired icon could be loaded for each action I specified. :thumbsup:


#15

You can set the toolbar background colour or background image in the Customize dialog. If you need more help please start a new thread in Help & Support as it's off-topic here.


#16

The custom-context-menu does not work for me. Is this How-to up-to-date?


#17

Yes, it still works for me and lots of other people.


#18

OK, I found the "Actions tab" now. under specific file type extensions.

... but I didn 't find "Directory Opus Archives" there. So, AFAICT, the filetype actions will always be first on the context menu. Then, somehow, the category that "Directory Opus Archives" is in comes next. The rest of the context menu is what a DOpus user has control of. Is that pretty much it?


#19

Preferences / Zip & Other Archives / Archive Context Menu.


#20

OK. Turning off the Windows context menu items and the archive context menu item cleaned up the messy full context menus nicely and adequately. While I've made an "Open With >" submenu with one entry, I am not going to bother adding more items to it and using it at this juncture, as it seems like too much work for too little gain. Is there a way to get the Windows "Open With >" menu item on the context menu without all the other menu items?