Python Filemanager and Shell Context Menu

Francesco scrutinizer at gmx.at
Wed Apr 7 04:39:07 EDT 2004


On 06 Apr 2004 23:29:19 +0100, jjl at pobox.com (John J. Lee) wrote:

>Francesco <scrutinizer at gmx.at> writes:
>
>> Hello Pythonnian's
>> 
>[...]
>> I have no idea, how to accomplish this.
>> For what I can imagine:
>> Either use ctypes and the kernel or shell dll, or win32 extensions.
>> 
>> Have someone done such a task before?
>> Can someone help me?
>[...]
>
Hello John,

>There's a good O'Reilly book about this, which certainly covers what
>you want:
>
>"Visual Basic Shell Programming", J.P. Hamilton
>
>
>I used that book to write a trivial IE plugin that I posted to the
>ctypes mailing list -- not directly relevant, but may set you on the
>right track (it shows how to implement COM interfaces that aren't
>defined in any type library).

interesting, I will take a look.

>
>Generally, for all this Windows shell programming, you implement some
>COM interfaces, and then set up set up some registry keys to tell
>Windows what you've done.  The book tells you which interfaces and
>which keys you need, documents some bugs and oddities and gives some
>example code.  You just have to translate the VB code to Python+ctypes
>(which is not necessarily an entirely hitch-free process ;-).
>Obviously, there's no Python-specific info in the book.
>

thank you for your explanation.

best regards,
-- 
Francesco



More information about the Python-list mailing list