Explorer Shell extensions are here!

John J. Lee jjl at pobox.com
Tue Dec 9 11:58:31 EST 2003


ny_r_marquez at yahoo.com (R.Marquez) writes:
[...]
> (Now, if I could only figure out how to make a context menu that would
> show up for any file of folder... ;)

You can do shell extension stuff quite easily with ctypes, too.
There's a good O'Reilly book on the subject (based on VB, but that
doesn't matter).  Use the CVS version, not the tarball, there's at
least one important COM bug fixed there.

One tip: some common COM interfaces don't have type libraries, but
it's easy to write your own interface specifications for ctypes, just
by following the very readable output of the ctypes script (equivalent
of gen_py in win32com) that usually does this job for you.


John




More information about the Python-list mailing list