ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> python-list
python-list
launching Adobe Reader from wxHTMLwindow
by Greg Miller other posts by this author
Jun 1 2004 3:40AM messages near this date
exceptions | [ANN] HTMLTemplate 1.0.0
Thanks Andrei, I was hoping that I wouldn't have to do that, although
it seems easy enough.  It appears to be not an issue now as we're
launching a tab using wxIEHtmlWin for the service documentation, and
Adobe Reader launches from there just by using the *.pdf link.

Andrei <project5@[...].net>  wrote in message news:<14xjk0zcffu0j.qz20rh1ujyie$.dlg@[...].net
> ...
>  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@[...].ay. Fcnz-serr! Cyrnfr qb abg hfr va choyvp cbfgf. V ernq
>  gur yvfg, fb gurer'f ab arrq gb PP.

Privacy Policy | Email Opt-out | Feedback | Syndication
© 2004 ActiveState, a division of Sophos All rights reserved