English Amiga Board


Go Back   English Amiga Board > Support > support.Apps

 
 
Thread Tools
Old 28 June 2018, 20:25   #1
Yulquen74
Registered User
 
Join Date: May 2013
Location: Kleppe / Norway
Posts: 253
"Open with" tool for iconless, non-executable files in workbench 3.1?

instead of having the "Execute a file" command box pop up when doubleclicking an iconless file in workbench 3.1, is there a tool that (other than dopus5 in workbench replacement mode) changes this behaviour to pop a file requester or perhaps a list of fixed programs to open the file with (unless the file is executable)?
Yulquen74 is offline  
Old 28 June 2018, 20:50   #2
PeterK
Registered User
 
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,365
There is a DefIcons tool for WB 3.1 in the NewIcons 4.6 package. You need to install the deficons.prefs in ENVARC: and a bunch of def_xxx.info files in ENVARC:Sys. Put the DefIcons tool into your WBStartup drawer. Edit the def_xxx.info icons, set the type to "project" with SwazInfo and choose your desired program for the default tool.

http://aminet.net/package/util/wb/NewIcons46
http://aminet.net/package/util/wb/SwazInfo18b

... or try my IconDemoADF floppy image to see how to use DefIcons:
http://eab.abime.net/showthread.php?t=64079
PeterK is offline  
Old 28 June 2018, 20:59   #3
Yulquen74
Registered User
 
Join Date: May 2013
Location: Kleppe / Norway
Posts: 253
Thanks, will try it out!
Yulquen74 is offline  
Old 22 June 2023, 12:40   #4
pixie
Registered User
 
pixie's Avatar
 
Join Date: May 2020
Location: Figueira da Foz
Posts: 340
I tried altering a def_icon into def_adf.info and yet when I add a volume with adfs it present it as project type icons. I guess it has something to do with deficon.prefs, do you know if there a way to change it from wb 3.1?

(The first icon is a real icon, only the white ones are deficon icons)
Attached Thumbnails
Click image for larger version

Name:	IconDemoHAM8_001.png
Views:	30
Size:	18.2 KB
ID:	79471  
pixie is online now  
Old 22 June 2023, 13:40   #5
Sani11
Registered User
 
Join Date: Apr 2023
Location: Washington/USA
Posts: 35
Yes, the behavior you're seeing is likely due to the settings in deficon.prefs. As PeterK mentioned, you can use the SwazInfo tool to alter the icon type from "project" to the appropriate type for your use case.

If you've already done this and it's still not working, you might want to double-check that the def_adf.info file is in the correct directory (ENVARC:Sys) and that the DefIcons tool is in your WBStartup drawer.

Also, if you're making changes to deficon.prefs, remember to save your changes and restart Workbench for the new settings to take effect.
Sani11 is offline  
Old 22 June 2023, 14:34   #6
thomas
Registered User
 
thomas's Avatar
 
Join Date: Jan 2002
Location: Germany
Posts: 6,985
SwazInfo is of no help for deficons.prefs.

There is no program for 3.1 which can change this file. NewIcons documentation contains info about how to build this file from assembler macros, but you still need some coding skill to do it.

The file format has not changed, though. So if you have OS 3.9 available, you can use its DefIcons prefs program to edit the file and then copy it over to OS 3.1.

The deficons.prefs file defines how a file type is recognised and which def_xxx.info is used for this type of files. Copying a def_xxx.info file to env:sys is of no use if there isn't a correponding file type defined in deficons.prefs.
thomas is offline  
Old 22 June 2023, 15:06   #7
pixie
Registered User
 
pixie's Avatar
 
Join Date: May 2020
Location: Figueira da Foz
Posts: 340
Indeed, to get it working I had to change the deficon.prefs file.
pixie is online now  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
Cannot open "workbench.library" amigatv project.ClassicWB 10 28 April 2019 14:43
Error "Scalos Request couldn't open workbench.library V39.x" yugorin project.ClassicWB 2 08 August 2016 20:53
"Unable to open your tool 'Installer' "-Workbench 3.1 Mr B support.Apps 7 31 March 2011 00:14
Unable to open your tool "directory opus' skeediddley support.Apps 3 04 December 2010 03:09
"Unable to open your tool" S. Campbell support.WinUAE 31 12 September 2004 20:39

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 23:06.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.07503 seconds with 16 queries