Similar to the filetype "Folders" there's one called "Volumes" (or "Disks", in german it's "Datenträger"). I edited the context menu for this type hoping to find my entries in the context menu of all drive icons in the treeview. Didn't work. Did I misunderstand the filetype editor and am I supposed to find my menu items somewhere else or is this an error in Opus?
Also, there already was a context menu entry created by a program called "Mp3Tag". I tried to give this entry an icon. Didn't work either, entry remains without icon.
I forgot I have one more question: (If this is about to work in the future) Does Windows provide a mechanism to edit the context menu of certain drive letters instead of just editing the context menu for all of them?
Idea behind this: For example, adding menu items that make sense only when used on optical drives ("Rip CD") or on harddsik ("Defragment").
I've got a "Drive" filetype and if I add something to its context menu I see it when I right-click a harddisk in My Computer.
Make sure you are adding a command with type Run an application (supported in Opus and Explorer) or DDE command (supported in Opus and Explorer) as the other types only work in Opus.
The My Computer view is provided by Explorer, even within Opus listers, so Opus-specific commands won't work within My Computer. This is also why your icon customisation didn't work.
Use %1 for the drive's path, rather than {filepath}, {f}, or similar. %1 works in both Opus and Explorer but I don't think {filepath} etc. will work in Explorer.
(It also looks like when you right-click a drive button in an Opus toolbar it displays the Explorer-generated context menu instead of an Opus-generated one, so icons don't work there either.)
If you know how to write Windows programs you could do it via a shell extension but I don't know of a way to do it using only configuration or registry settings.
That's strange: When I first tried it I checked both ways of adding the command and none worked. At least I thought I checked both. Now I tried it again and the Explorer style command did work. BTW, it's a bit confusing that the dialog only shows two options instead of all four when reentering the dialog later. The custom icon did not show up, just as you told, but that's just a minor cosmetic problem. TortoiseSVN shows some nice icons there, so I thought I could enhance the rest of the menu a bit. Bugger!
If you know how to write Windows programs you could do it via a shell extension but I don't know of a way to do it using only configuration or registry settings.[/quote]
Just what quick googling yielded, so I can stop searching any further. Thank you!
Heh, I think I say the same thing to Jon every year or so and he explains some good reason for it but then I forget. I can't remember what the reason for it is (once again) but I think there is one. Maybe.