Hi, I wanted to add file extensions to the Zip Compressed File type, so that DOpus treats .pak files exactly the same way as .zip files. So, I edited the file type, and set Extensions to contain both .zip and .pak.
However, DOpus still does not treat them the same. Double-clicking .zip files opens them in the current tab as if they were folders, as desired. Double-clicking .pak files opens a new window, showing the directory the .pak file is in, not the contents of the .pak. This infinitely recurses, and I can't get to the contents of the .pak file.
Even before I added the .pak extension, I had to remove the "open" action of the Zip File Type (which was set to the DOpus executable), or DOpus would do the above (incorrect) action of opening a new window even for .zip files.
So what's the deal, how do I make DOpus do its Zip thing for all file extensions I register?
There are hundreds of file types that are really zip files with different extensions. Would you want double-clicking on an OpenOffice of Office 2007 document to open it as a zip and show you the cryptic contents instead of opening the file in the apps?
(.pak files may be associated with game engine map/asset editors. You may want double-clicking .jar files to run the Java program rather than open them as an archive, and so on.)
And then, instead of people occasionally asking how to add filetypes to the zip list, we'd get people asking why Opus has taken over their files... [/quote]
Since there is a semantic difference between wanting to explore the contents of an archive and wanting to execute it - I think Opus should handle both cases seamlessly.
Display files we identify as archive types in the folder tree so that we can explore their contents easily and still allow the default action with double click .. plus add a context menu item to archive files " .. explore this file".
[quote="robertmarkbram"]Since there is a semantic difference between wanting to explore the contents of an archive and wanting to execute it - I think Opus should handle both cases seamlessly.
Display files we identify as archive types in the folder tree so that we can explore their contents easily and still allow the default action with double click .. plus add a context menu item to archive files " .. explore this file".
Rob
[/quote]
Actually, Opus does this already. I think I was confused before! (Apologies to blueroly!)
Adding an extension to the list of zip extensions does not affect what happens when you double-click it, at least when some program is associated with the type. (Opus might enter those files if nothing is associated with them but otherwise you would have to change the file type's association or double-click event to make them open on double-click.)
I just tested it by adding .pptx (PowerPoint 2007 document) to the list of zip extensions. I then saw .pptx files appear in the folder tree and I could click on them there to view the (messy ) contents, but if I double-click a .pptx file in the file display then it still opens in PowerPoint.
When I right-click a .pptx I get "Extract To" options. There isn't an option to go into them, though; that has to be done via the tree unless a context menu item is manually added to the file type.
Now I have zip, jar and ear files being displayed in the folder tree - but it doesn't do it for war files. My extension list is: ".war;.zip;.jar;.ear;". Is there anything I can do for this?
Now I have zip, jar and ear files being displayed in the folder tree - but it doesn't do it for war files. My extension list is: ".war;.zip;.jar;.ear;". Is there anything I can do for this?
[/quote]
OK - it is display wars, ears, jars and zips on the folder tree - but not nested archives.. i.e. if I have a .zip containing an .ear containing a .war, I want to navigate that entire tree on the Folder Tree..