Unarc and default file types

AmigaOS users can make feature requests in this forum.

Unarc and default file types

Postby daveyw » Thu Mar 22, 2018 9:15 pm

Hi,

If you open an archive with Unarc, and double click on a compressed file, Unarc will extract the file to T: and launch Multiview to open it... provided there is a datatype for it.

Would it be possible to launch the default application through Deficons instead? It would be more flexible and useable than Multiview.
User avatar
daveyw
 
Posts: 177
Joined: Mon Sep 12, 2011 8:44 pm

Re: Unarc and default file types

Postby xenic » Fri Mar 23, 2018 5:30 pm

daveyw wrote:Hi,

If you open an archive with Unarc, and double click on a compressed file, Unarc will extract the file to T: and launch Multiview to open it... provided there is a datatype for it.

Would it be possible to launch the default application through Deficons instead? It would be more flexible and useable than Multiview.

That could lead to unintended results. If Deficons recognized the file as a diskimage it would get mounted. If Deficons recognized the file as an archive it would open a new copy of UnArc. If Deficons recognized the file as an installer file it would open the installer. Maybe that's what you want but personally I would like a prefs option to have it work the way it does now if it were changed to use DefIcons.
AmigaOne X1000 with 2GB memory - OS4.1 FE
xenic
 
Posts: 1120
Joined: Sun Jun 19, 2011 1:06 am

Re: Unarc and default file types

Postby nbache » Fri Mar 23, 2018 5:56 pm

Not to mention what would happen if a file is recognized as an executable script, and it happens to contain "Delete SYS: all quiet force" or something ...

Best regards,

Niels
User avatar
nbache
Beta Tester
Beta Tester
 
Posts: 1267
Joined: Mon Dec 20, 2010 8:25 pm
Location: Copenhagen, Denmark

Re: Unarc and default file types

Postby Scriptjester » Sat Mar 24, 2018 7:12 pm

But it would be nice that the opened multiview take care of its tooltypes (I think I made a bugzilla for this a long time ago).
Scriptjester
Beta Tester
Beta Tester
 
Posts: 73
Joined: Fri Feb 11, 2011 3:27 pm

Re: Unarc and default file types

Postby broadblues » Sat Mar 24, 2018 9:55 pm

daveyw wrote:Hi,

If you open an archive with Unarc, and double click on a compressed file, Unarc will extract the file to T: and launch Multiview to open it... provided there is a datatype for it.

Would it be possible to launch the default application through Deficons instead? It would be more flexible and useable than Multiview.


There isn't really any such thing as lauching through deficons. DefIcons just provides a default icon for any given file. So what you really mean is open the file with OpenWorkbenchObject() or WBRun it's command line equivalent. That's not going to be a sensible thing to do on a temporary file extracted from and archive, many files are likely to need other support files from withn the archive, perhaps depend on new version of libraries withon that archive etc. Bad stuff wil happen for sure....
User avatar
broadblues
AmigaOS Core Developer
AmigaOS Core Developer
 
Posts: 537
Joined: Sat Jun 18, 2011 3:40 am
Location: Portsmouth, UK

Re: Unarc and default file types

Postby daveyw » Sun Mar 25, 2018 9:02 pm

I really just want to view zipped media without having to extract the entire archive.

Great for pictures, I tend to view them with Multiview anyway, but most modern video codecs have no datatype.
User avatar
daveyw
 
Posts: 177
Joined: Mon Sep 12, 2011 8:44 pm

Re: Unarc and default file types

Postby Amigo1 » Mon Mar 26, 2018 12:46 pm

daveyw wrote:I really just want to view zipped media without having to extract the entire archive.

Great for pictures, I tend to view them with Multiview anyway, but most modern video codecs have no datatype.


As a possible workaround you could maybe mark the "chekcmark gadget" and extract just the file you need. :-)

It should be just 3 more mouse clicks (Or one keyboard shortcut, to open the destination drawer and 2 mouse clicks to open the file..)
User avatar
Amigo1
 
Posts: 179
Joined: Sun Jan 01, 2012 4:32 pm


Return to AmigaOS Feature Requests

Who is online

Users browsing this forum: No registered users and 2 guests