Context Menu - Execute a Script for a Specific File Type

Is there any way to run a script (.bat file for example) when using a specific file extension in the context menu?

I go into setup and choose file type .lst, for example and want to use {destpath} and other options and send it to a test.bat file.

Any way to use some variation of Start test.bat %1 {destpath}

I have it working for "Directory Opus File Types" - "All Files" but cannot see a way to do it with a specific file type.

Is it best to program a command button for this?

Thanks!

1 Like

You could look into the "systems file types", if that specific file type is present (sometimes they´re not).
As an alternative, you could either add that file type there, if it´s not exisiting or (easier) make a new file type group for your special types. In that file type group you can edit the context menu to have your code included, so it would only appear in the context menu of those few file types.

1 Like