English Amiga Board


Go Back   English Amiga Board > Support > support.AmigaOS

 
 
Thread Tools
Old 02 December 2023, 12:06   #1
Asmodean
Registered User
 
Join Date: Oct 2021
Location: Linköping / Sweden
Posts: 29
Batch replacing of icons

Let's say I have a drawer which contains a number (50) of subdrawers. Let's now say that I found a fancy drawer icon (.info) somewhere that I only want to use for the 50 subdrawers. I do not want this new fancy drawer to become the default drawer.

If I only wanted to replace one of the drawers I could simply copy the fancy drawer icon into the name of the drawer I wanted to replace.

But if I want to replace all 50 of these subdrawers. Is there a way to automate this?

I'm using AmigaOS 3.2.2.1 in this scenario
Asmodean is offline  
Old 02 December 2023, 13:56   #2
daxb
Registered User
 
Join Date: Oct 2009
Location: Germany
Posts: 3,304
You can use a ADOS or ARexx script to automate this.
daxb is offline  
Old 02 December 2023, 15:45   #3
Asmodean
Registered User
 
Join Date: Oct 2021
Location: Linköping / Sweden
Posts: 29
So there is no known tool/script already released on aminet for this specific purpose... too bad.

I'm not so familiar with Arexx. Could you explain how you would automate this using AmigaDos scripting?
Asmodean is offline  
Old 02 December 2023, 20:44   #4
daxb
Registered User
 
Join Date: Oct 2009
Location: Germany
Posts: 3,304
I don't know if there is something on aminet that fits your needs. You may search a bit.

I would use rexxtricks.library function GETDIR() to get a list of all drawers. Then got through the list (DO loop) and replace (copyicon cli tool) all drawers with the one you want.
daxb is offline  
Old 03 December 2023, 00:17   #5
EctoOne
Registered User
 
EctoOne's Avatar
 
Join Date: Jun 2020
Location: Germany
Posts: 370
Isn't there a tool in the NewIcons package for drawers specifically!?
Don't know if it only works for NewIcons and/or if you can specify the location of the drawers you want.

Or you could use LIST to create a script that uses something like CopyIcon44 to copy the source to multiple targets. But that would probably only really work if there are just drawer icons in your target location. Although you could manually edit the script afterwards to remove non drawer icons.

I mean since you're using 3.2 you could even select all drawers you want to change and drag them into the CopyIcon window. It really depends on how spread out your icons are.
EctoOne 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
New batch of AmyITX Chucky support.Hardware 13 13 June 2018 17:52
Replacing ugly icons? fstltna support.Other 15 21 July 2017 08:49
OS 3.5 icons on 3.1 & WHDLoad hangs when displaying icons PoulpSquad support.WinUAE 22 14 September 2012 00:57
OS 3.9 Icons mixed with old icons Toddles support.Hardware 0 14 February 2010 00:56
next batch of games? boing_1000 project.SPS (was CAPS) 19 02 August 2008 23:45

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 07:51.

Top

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