The basic idea behind it was to create "desktop.ini" files, where the icons are defined like this:
[.ShellClassInfo]
IconResource=C:\Windows\syswow64\shell32.dll,27
Of course the next question will be: "Why the hell he wants to abuse AutoCAD for that crazy stuff? Create an EXE or download the tool XY from ....."
So why this "abuse"?
a)
- "The user" (low level user) does not want tools and exes and dialogues. He wants a button to press or a function in the background.
- The Sysadmin and the IT-security do not want that the crazy CAD guy installs or uses any EXE-stuff on local drive or in network - and have locked the system.
- I want a system (=Autolisp code) which runs (rather) out of many security-locks, prohibited installation and which can be controlled by me.
b)
If it is solved for this usage it can be used for others too.
So I want:
(defun c:myfolderconfig
() (if "something bad happens to folder A" (change folder
-icon to red
and comment to
"Alert") (change folder
-icon to green
and comment to
"Everything's OK") )
)