The script is identical to the one you find on Aros-archive, I just corrected path Themes
Ok. Just for the record, i mentioned the versioning because the one used for Icaros Desktop has the exact same version number while the actual script is being updated quite a bit.
That is actually quite confusing and requires me to manually compare the different theme scripts against each other in order to locate the differences (quite a boring job
)
The script from Icaros desktop adds additional stuff for zoom buttons,the use button is removed and some additional sanity checking is done (preventing possible bugs).
If you need a quick solution (and if allowed, so please ask paolone/hardwire) then use the script from Icaros Desktop and change the paths so that they match your distribution.
The problem with "Use" and if it is clicked 2 times, it forgets the Themes path, and wants a new assignment to Themes
Hmz, that is indeed strange. I'll have to look into that on a later date.
Doing a search on the Internet I found che on LUA that you disable a command by adding in front of the string the two dashes " -- ", it might be okay, although I liked disable better (grey hide).
Yes that is correct. A double dash comments the line in a lua script.
The greying out should be possible by "disabling" the button (there is some MUI API call magic required to be able to accomplish that) . But I do not know for sure if that (also) works for an image button.
Alternatively, when you create the image button manually it can be disabled during the creation.
Fact is, i do not have many experience with lua scripting, let alone with the zune side of things, so first i need some time to verify how things work exactly.
The possibility of a hot reboot remains important, if AFA OS (AROS For AMIGA) does it, so must AROS !
Yes, i understand that to be necessary
At the Moment I replaced "Use" with "Restart" and it works fine, an option that was missing, although it would be nice to find a nice "Refresh" Command
I have no idea how you would compare "Use" against "restart" but hey if it works logically for you then go for it
For the hot "refresh", i am still trying to figure things out (it might not be possible to accomplish at all atm).
Entering reboot is not necessary, Save does it
There is an older version on aros-archive that does not have the Use Tab, but other functions are also missing.
http://archives.aros-exec.org/index.php?function=browse&cat=graphics/theme
As i wrote before, you could try the script from Icaros Desktop.
That has newer functionality and does not have the "USE" button. Perhaps it works for you as intended so that you can at least move forward with your distribution. At least that will buy us some time.
regards,