Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
57 user(s) are online (36 user(s) are browsing Forums)

Members: 0
Guests: 57

more...

Headlines

 
  Register To Post  

Script for Changing all drawer icons?
Just can't stay away
Just can't stay away


See User information
Hi! I want to extend my system replacement icon packs,
to scan whole partitions for Drawer icons and replace them.
Is this possible? Could someone help me out?

Go to top
Re: Script for Changing all drawer icons?
Just popping in
Just popping in


See User information
@spotUP

Hm, rather simple.

Try this:

list >ram:fafa dirs lformat "if exists *"%F%N.info*"*Necho *"changing icon for %F%N.info*"*Nelse*Necho *"no icon for %F%N*"*Nendif"

It should give you a textfile in RAM called FAFA. Type it, edit it or execute it.

When you're ready to exchange your icons, find a tool that does that for you and replace the first echo with smthn like this:

changeicon *"%F%N.info*" ... etc.

If you run the above line with list, you will get smthn like this in RAM:fafa

if exists "system.info"
echo "changing icon for system.info"
else
echo "no icon for system"
endif
.... for each drawer name in that location


Notes. The *" is for giving a quote to the script rather than quoting at execute time.
%F is the path and %N is the filename.
*N is for new line in script.

If you want to run a whole partition, add ALL after list.

Good luck.

(Havn't tested it but hope it'll work for u. the echo is good for testing before really executing.)

(sorry, a few updates since i forgot some important things.)

Go to top
Re: Script for Changing all drawer icons?
Just can't stay away
Just can't stay away


See User information
@FihmpenRouk

wow!

___THANX!___

Go to top
Re: Script for Changing all drawer icons?
Just popping in
Just popping in


See User information
@spotUP

What ever you do. Have a backup handy. :)

In case ...

Go to top

  Register To Post

 




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




Powered by XOOPS 2.0 © 2001-2023 The XOOPS Project