Best way to implement "portable file associations?"

I have no doubt that this can be accomplished in DO, I'm just wondering if anyone has any good setups they'll share...

A forum search shows that this has been mentioned before. "Portable File Associations" is a nice feature in XYplorer. You setup all of your rules as in the top of the screenshot. Then (for example) if I have an image file selected and activate the menu, I get the list of all the apps I might want to open the image file with. (bottom of img)

Strictly-speaking, I don't really use the "portable" features of any of my apps, so it's the "file associations" that I'm interested in, not the "portable" part.

You can can do this with the normal file type editor in Opus (Settings > File Types). No need to do anything special, other than create the commands as Opus-specific ones ("Run an Opus function"):

Anything Opus-specific will be stored in your Opus configuration folder, which is portable. It's only things that have to work in Explorer as well which might be written to the registry.

Thanks for the fast reply Leo. I think I might be doing something wrong... As you can see in the image, if I double-click a File Group ('images' for example), there is no tab for "Actions."

Maybe I'm looking in the wrong place?

Actually... It occurs to me that I might prefer to have a "context toolbar" appear based on what type of file is selected. (similar to img)

Still though, I'm curious about the feature you describe above.

Use the Events or Context Menu tabs.

Actions is for editing verbs that can be used in Explorer.

Still not wrapping my head about this... Not sure how this is going to result in what is essentially a customizable "Open with..." popup list. That's okay though... I'm going to try to set up some small toolbars that appear when various file types are selected. That's a different topic though--so I'll make a different post (after I read the help more and experiment)..

Thanks again Leo!

Which part are you stuck with? If you want a list of sub-menu like the Open With menu when you right click a file, all you have to do is add some menu items which run each if the programs you want in the list.

I guess I'm starting to understand... I was looking for "Command > Run" or "Command > Open." Instead, I need to use "Browse > File," so that makes sense. It would be cool if the application's icon were shown on the context menu item--but that's not a big deal. :slight_smile:

You can add the icons using the box on the top right of the editor. Click it and you can set an icon. (It's a bit hidden when no icon has been set yet.)

Hey nice... It easily/smartly accesses the icon from the exe too. :slight_smile: