launching Adobe Reader from wxHTMLwindow
Andrei
project5 at redrival.net
Thu May 27 15:05:18 EDT 2004
Greg wrote on 26 May 2004 10:12:59 -0700:
> for a pdf document, but Adobe Reader doesn't start. Is there a
> special call I will have to use in the HTML code instead of ahref to
> get Reader to launch?
You chould subclass wxHtmlWindow and implement the OnLinkClicked methos:
def OnLinkClicked(self, linkinfo):
# do something with linkinfo.GetHref()
That "something" could be a system command to open the Href with the
default app for that file type.
--
Yours,
Andrei
=====
Real contact info (decode with rot13):
cebwrpg5 at jnanqbb.ay. Fcnz-serr! Cyrnfr qb abg hfr va choyvp cbfgf. V ernq
gur yvfg, fb gurer'f ab arrq gb PP.
More information about the Python-list
mailing list