Extensive list of all file types for the search panel?

Hi

I want to build some cool search filters like:

"find all graphics" like jpg, png but also exotic stuff like iff and .ico etc.

or

"find all 3D objects" like files from 3D Studio Max, Lightwave, Maxxon Cinema etc. - You get the point.

So I need to make search filters which looks like *.(jpg|bmp|gif|etc. etc. etc.).
Now - there might be hundreds of file types for graphics alone so I wondered if there might exist some XLS og ODS file which contains all file types - but they shoukd come in a handy way so I can build some cool search filters?

There is a nice list here http://en.wikipedia.org/wiki/List_of_file_formats#Graphics but it would take forever to manually write all file types. If I had them in an spreadsheet I could build those criterias quickly.

I would upload all search filters for others to use here in the forum as well...

Sounds like you only need the graphics and 3d categories in a spreadsheet so copy and paste the categories from Wiki into Excel or whatever... A few minutes editing and you have a list... the attached "3d" list took me two minutes to create.

It's your job to check it though :smiley:

3d.zip (332 Bytes)
(Rename the zip file to .txt)

WOW - I didn't expect someone to do the work for me :slight_smile:

Ok, I will get to work and create extensive lists from what I can find on the internet and wiki.
The gfx was just an example. I also need similar stuff for docs etc. etc. But it's worth throwing some hours into a list.

Thanks for the help blueroly!

You'll find that Opus will not accept such long lists as keywords in the find panel because there seems to be a limit for the number of characters. In case of the Raster graphics list you'll have to split the list in 2 parts. Here's a sample button code that works for me (Find all graphics on all drives also inside archives):

Find in C: D: E: F: G: H: I: J: K: L: M: N: O: P: Q: R: S: T: U: V: W: X: Y: Z: NAME "*.(SGI|RGB|INT|BW|TGA|targa|icb|vda|vst|pix|TIFF|TIF|VTF|XBM|XCF|XPM)" SHOWRESULTS=tab CLEAR COLLNAME=Suchergebnisse ARCHIVES @async:dopusrt /cmd Find in C: D: E: F: G: H: I: J: K: L: M: N: O: P: Q: R: S: T: U: V: W: X: Y: Z: NAME "*.(ASE|ART|BMP|BLP|CD5|CIT|CPT|CR2|CUT|DDS|DIB|DjVu|EGT|Exif|GIF|GPL|GRF|ICNS|ICO|IFF|ILBM|LBM|JNG|JPEG|JPG|JP2|JPS|LBM|MAX|MIFF|MNG|MSP|NITF|OTA|PBM|PC1|PC2|PC3|PCF|PCX|PDN|PGM|PI1|PI2|PI3|PICT|PCT|PNG|PNM|PNS|PPM|PSB|PSD|PDD|PSP|PX|PXM|PXR|QFX|RAW|RLE|SCT)" SHOWRESULTS=tab CLEAR=no COLLNAME=Suchergebnisse ARCHIVES
Vector graphics filter:
*.(AMF|AWG|3DV|AI|EPS|CGM|CDR|CMX|DXF|E2D|EGT|FS|ODG|SVG|STL|WRL|SXD|V2D|WMF|EMF|ART|XAR)

You can use the Find Panel's Advanced tab if you want to do something that complex while still using the UI instead of commands (if you want).

No problem.

Rather than creating search filters as you suggested above, which will become massive when populated with scores of file extensions, you may want to consider creating File Type Groups in Settings / Filetypes... / File Type Groups and add each required file extensions to that group instead.

i.e. Create a group called "3d" and add all the necessary file extensions (.max, .3ds etc). Unfortunately I don't think you can add several at the same time but Leo will correct me if I'm wrong....which is very likely.

Now when searching, or creating buttons, use grp:3d instead of *.(max|dwg|3ds)

Both methods work fine but I prefer this method as I find it easier to manage. Imagine having a filter with 30 file extensions and you need to delete one of them, not this simplest of tasks if there are several similar file types (dwg, dwt, dwf) to search through. Using groups, you select the file extension from a pull down menu and hit the delete button. Simple.

Hi everyone

Thanks for the input - really valuable stuff!

Here is my plan. I'd like to build a spreadsheet with all file extensions. That way I can easily update the spreadsheet and easily generate the lines I need like KUNDAL showed, e.g.: ASE|ART|BMP|BLP| etc.

So when I need some kind of special function like "find 2d and 3d gfx stuff" I can quickly build a button. In the spreadsheet I can add several columns like "Amiga formats" and other more querky stuff just by sorting the other columns in the spreadsheet. That way I can build customized functions quite quickly.

@blueroly: You are right - I hope I can somehow "mass import" file extensions and build groups. I would love that. Or I will have to do it manually and spend more time :slight_smile:

@leo: If I understand it correctly I think that kundal's way is the best considering that I manually have to add all those extensions one-by-one in the Find Panels Advanced tab:

(ASE|ART|BMP|BLP|CD5|CIT|CPT|CR2|CUT|DDS|DIB|DjVu|EGT|Exif|GIF|GPL|GRF|ICNS|ICO|IFF|ILBM|LBM|JNG|JPEG|JPG|JP2|JPS|LBM|MAX|MIFF|MNG|MSP|NITF|OTA|PBM|PC1|PC2|PC3|PCF|PCX|PDN|PGM|PI1|PI2|PI3|PICT|PCT|PNG|PNM|PNS|PPM|PSB|PSD|PDD|PSP|PX|PXM|PXR|QFX|RAW|RLE|SCT)

That would take a long time.

LEO: Is there a way to build a filter just by "importing" those long lines kundal showed in his codes into to Advanced Panel? I would love to save them as filters like "3d objects" "Amiga files" "2d pics" etc. etc. If I could save filters like that it would be powerful stuff indeed. But adding them one by one would take forever.

But thanks for the help everybody! Just love this forum and I hope I can give something back to the community!

You can use wildcards in the advanced panel, nothing special required really.

Can't this be directly added to a Dopus xml configuration file or registry key via .reg files?

not sure, but perhaps:
C:\Users${username}\AppData\Roaming\GPSoftware\Directory Opus\Filters\filtername.ofi

filtername.ofi =

<?xml version="1.0" encoding="UTF-8"?> <filter desc="" name="cheese"> <clause match="yes" type="name" wildcards="yes">*.*</clause> <clause link="and" match="yes" type="path">D:\iLoveCheese</clause> <clause link="and" match="yes" off="yes" type="name" wildcards="yes" /> </filter>

Like this. There's no need to mess around with config files directly.

I assume you only need a few filters like this, one for each set of extensions. Just paste the extensions from the forum or wherever the list comes from. It shouldn't take long to set up the few filters you might need for the different sets of extensions.


@Leo: How stupid I am I haven't seen this function? I am just... sorry! That's what I am looking for. It's great! Thanks :smiley:

@engineersthumb: Thanks for the tip. I noted that idea down for future use. If we have to do more of this kind of work I will ask a programmer do make "something" so the XLM/config.fil file can be auto-updated. So the "master file" with all file types could be placed on the internet/internal network in a database. That way an update of, say "all vector gfx file types", can be done centrally and other dopus users will get their search filters updated automatically.

Anyway - back to work. Thanks for saving me many valuable hours :smiley: