English Amiga Board


Go Back   English Amiga Board > Support > support.Apps

 
 
Thread Tools
Old 05 June 2016, 16:55   #1
manic23
Only Amiga!
 
manic23's Avatar
 
Join Date: Jan 2008
Location: London / UK
Age: 53
Posts: 512
Bulk Edit Icon Default Tool

I often have cause to want to change the default tool for a group of icons. For example I might want a set of 50 or more MOD files to open with Eagle Player. Is there a way to bulk edit the icon's default tool rather than opening each one separately?
manic23 is offline  
Old 05 June 2016, 23:15   #2
daxb
Registered User
 
Join Date: Oct 2009
Location: Germany
Posts: 3,303
With DefIcons you should only need to change default tool once. So all mod files will use that. Alternative a simple script can do the batch processing. rexxtricks.library has GETDEFAULTTOOL() and SETDEFAULTTOOL() function for example.
daxb is offline  
Old 06 June 2016, 16:26   #3
DrBong
HOL / AMR Team Member
 
DrBong's Avatar
 
Join Date: Dec 2001
Location: Australia
Posts: 2,632
Yep, definitely use DefIcons under OS 3.5/3.9.....otherwise there's IconHelper and a few other icon utils that will do the job if you have WB 3.1 or below.

http://aminet.net/search?query=icon+tooltypes
DrBong is offline  
Old 06 June 2016, 19:24   #4
Daedalus
Registered User
 
Daedalus's Avatar
 
Join Date: Jun 2009
Location: Dublin, then Glasgow
Posts: 6,334
DefIcons will only work for files that don't have an icon file associated with them. As daxb says, a simple ARexx script can be used to fix it. Under OS 3.5 or 3.9 it can even be integrated into Workbench, acting on all selected icons for example.
Daedalus is offline  
Old 06 June 2016, 19:28   #5
manic23
Only Amiga!
 
manic23's Avatar
 
Join Date: Jan 2008
Location: London / UK
Age: 53
Posts: 512
Thanks for the help guys, DefIcons is a nice tool that works well but only if there is already a default tool set, if the tool field is blank it does not work, but it's still a useful tool. I am no good at scripting so would not really know where to start doing that.

Thanks again.
manic23 is offline  
Old 06 June 2016, 20:05   #6
DrBong
HOL / AMR Team Member
 
DrBong's Avatar
 
Join Date: Dec 2001
Location: Australia
Posts: 2,632
Quote:
Originally Posted by Daedalus View Post
DefIcons will only work for files that don't have an icon file associated with them. As daxb says, a simple ARexx script can be used to fix it. Under OS 3.5 or 3.9 it can even be integrated into Workbench, acting on all selected icons for example.
I wasn't quite sure if that was manic23's aim or not (or what OS he was using either), hence the suggestion of IconHelper and others on Aminet. IconHelper should automate the batching process for him via an Arexx script using MUIRexx. Have I missed something here?

Quote:
Originally Posted by manic23 View Post
Thanks for the help guys, DefIcons is a nice tool that works well but only if there is already a default tool set, if the tool field is blank it does not work, but it's still a useful tool. I am no good at scripting so would not really know where to start doing that.
Don't give up quite yet.......IconHelper might *help* you with your mission!

Edit: MIS might do the trick too. Sometimes the only way to find out is to play mad scientist and give some of these proggies on Aminet a go.

Last edited by DrBong; 06 June 2016 at 20:35.
DrBong is offline  
Old 06 June 2016, 23:18   #7
daxb
Registered User
 
Join Date: Oct 2009
Location: Germany
Posts: 3,303
Quote:
Originally Posted by manic23 View Post
I am no good at scripting so would not really know where to start doing that.
If you explain in detail what the script should do (and how it shall start) then I might make it. Several possibilities are available. Or is DefIcons already enough?
daxb is offline  
Old 06 June 2016, 23:36   #8
manic23
Only Amiga!
 
manic23's Avatar
 
Join Date: Jan 2008
Location: London / UK
Age: 53
Posts: 512
Many thanks for the offer daxb that is very nice of you but I can work with deficons


Sent from my iPad using Tapatalk
manic23 is offline  
Old 11 June 2016, 16:41   #9
AMIGASYSTEM
Registered User
 
AMIGASYSTEM's Avatar
 
Join Date: Aug 2014
Location: Brindisi (Italy)
Age: 70
Posts: 8,248
Quote:
Originally Posted by manic23 View Post
if there is already a default tool set, if the tool field is blank it does not work
If the icons have different associations or the empty field, agrees to delete all of the modules icons, and then create them from the system; you did that you'll want to save them all together.
AMIGASYSTEM is offline  
Old 11 June 2016, 16:46   #10
Michael
A1260T/PPC/BV/SCSI/NET
 
Michael's Avatar
 
Join Date: Jan 2013
Location: Moscow / Russia
Posts: 839
How about expanding functionality....

Traverse directories for a given tooltype in icons eg. More
and change it to something like eg. Sys:Utilities/MultiView

Might be interesting too
Michael is offline  
Old 11 June 2016, 20:01   #11
daxb
Registered User
 
Join Date: Oct 2009
Location: Germany
Posts: 3,303
With rexxtricks.library and rmh.library you have (almost) complete control over icons incl. open icon information window. So if you like you can have everything.
daxb is offline  
 


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Default CD icon Brakus New to Emulation or Amiga scene 6 15 October 2018 01:26
Execute script works but not after adding an icon with IconX as Default Tool. e5frog support.Other 19 27 July 2010 10:23
Default Icon amiga support.Apps 2 04 October 2008 13:48
HELP! How to change icon default tool in WB buckrogers New to Emulation or Amiga scene 18 07 March 2005 05:27
The icon(s) have no default tool(s) !!!! THX1138 support.Apps 5 08 March 2003 03:00

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 00:02.

Top

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