[python-win32] Interfacing to windows explorer
mc at mclaveau.com
Fri Jun 10 01:06:33 CEST 2005
If, by chance, you pass in Ardeche (*), France, I could show you interesting
things. If not, I would have evil, by e-mail (my English is too bad).
(*) See :
Thanks for the suggestions. I am debating which of the feasible methods
will be easier.
var obj = ActiveXObject(aa.bb);
However it doesn't work with mozilla (which I expected). When loaded as
HTML it gives a warning every time. Even when you run it as HTA, it
generates a warning on the first run, but not after. The HTA option looks
neat for a windows application (thanks Michel). For deployment I guess
you would go something like this: pack an HTA file with your python com
server exe. Write a bat file that to runs the application you are writing
so that it can register with the local registry. Then open explorer
passing it the HTA file.
The option of running a web server locally whenever this application is
fired can be used in lieu of running a com server and using HTA.
The reason why the web server option looks attractive is becuasebecause it
object publishing that comes for free, with something like Cherry Pie.
Without this, I would have to write some messy html scripting code that
will intercept actions on the HTML/HTA file and then return with other
HTML/HTA pages etc.
I guess the happy middle would be to find a object publishing framework
that generates HTML but runs inside a python COM server. Is there any? If
not I guess one can try change cherry py a little bit so it can act as a
com server instead of a webserver.
More information about the Python-win32