Re: Paging Brian's Brain -- HTML 'theme config' with form elements

Brian Wolven <[email protected]> Tue, 21 Aug 2007 04:08:44 -0400
Newsgroups gmane.comp.windows.shells.litestep
Message-ID <[email protected]>
Darrin C Roenfanz wrote:
> This is mostly for Brian, because I think he has knowledge in this 
> field. As I understand it, you helped create an HT-based utility of 
> somesort
> For a little bit of background, I'm working on a series of themes. 
> Basically, you have a SimpleTheme, which includes tutorials on how to 
> implement addons/widgets. Then you have the IntermediateTheme, which has 
> all those addons/widgets included already. I was thinking that the best 
> way to do this would be with HTML-type files.
> Anyway, I was wondering if'n it's possible to create an HTML doc that 
> makes use of forms elements (checkboxes and such) that would directly 
> interact with an associated rc file.
> If what I'm thinking is right, it would be an easy(?) way to create a 
> 'graphical' themeconfig since no modules really allow use of GUI 
> elements such as checkboxes or radial buttons.
> 
> 
> Let me know if I'm on the right track, totally offbase, or what...

Yep, I've made a couple of simple HTA's (HTML applications).

One is a wallpaper viewer/selecter. It calls some MS DLL's to handle the 
imaging functions (thumbnail creation, type conversion, etc.) and also 
manipulates some registry bits (tile/stretch/center wallpaper, etc.).

The other is something I worked on with fractal.design for a while. It 
could select and unzip themes and/or [global] theme styles, and then 
apply them (i.e., update config files, and then call LS to run the 
!recycle bang).

You can do checkboxes/radio buttons/pull-down menus in the same way 
you'd implement them on a web page, and then use javascript or vbscript 
to perform the appropriate actions. Windows script host can probably 
support other scripting languages, too, but those are the ones I knew, 
and that tended to be available everywhere, at least with win2k/xp.

I can send you some examples if that sounds like what you need. I may 
have them in a theme posted somewhere, but I tend to just tweak themes 
forever and never release them. =P


---------------------------------------------------------------------
    Can't Unsubscribe? Check http://desktopian.org/listunsub.html
        LS List Homepage: http://wuzzle.org/list/litestep.php
            Get the LS FAQ: http://lsfaq.shellfront.org