Small glitch in the new file type group function (?)

Hi,


Select grp:Images

  • automatically select all files matching the Images group

this is a very nice novelty. However, it doesn´t seem to work with custom made file types, like i have here archiv (zip, rar, etc.) or others.

Well spotted, thanks! We'll fix this in the next version.

There is a workaround though which you could use for now. Go to /dopusdata/FileTypes/Groups and open the groups.oxr file in notepad. If you locate your custom made group in the XML file you'll notice something like this:

	<key name="{C64BA204-3754-453D-8FE7-03FFD6C6038C}">
		<value name="@default" type="sz">Archiv</value>
		<value name="Members" type="sz">.zip .rar</value>
	</key>

The Select grp:XXX function at the moment is only looking for the "internal name" of a FileType group, and the problem with this is that user-created groups get an automatic GUID-style name ({C64BA204-3754-453D-8FE7-03FFD6C6038C} in the above example.)

If you edit the raw XML and change the internal name of the group (and then restart Opus) you should find it works. E.g. change it to:

	<key name="Archiv">
		<value name="@default" type="sz">Archiv</value>
		<value name="Members" type="sz">.zip .rar</value>
	</key>

[quote="jon"]Well spotted, thanks! We'll fix this in the next version.

There is a workaround though which you could use for now. Go to /dopusdata/FileTypes/Groups and open the groups.oxr file in notepad. If you locate your custom made group in the XML file you'll notice something like this:
[/quote]

yeah, that fixed it! Only small side effect was, i had to set the custom color for one file type again, but that was no sweat. Thank you very much! :slight_smile: