[wingide-users] webbrowser module in WingIDE scripts?

Wingware Support support at wingware.com
Thu Aug 25 16:03:58 EDT 2005


On Thu, 25 Aug 2005, Ken Kinder wrote:
> It seems that the module webbrowser is missing in WingIDE scripts, 
> and from the documentation, I can't tell how to tell Wing to open a 
> browser or browser tab with a specific URL. I'm writing a somewhat 
> cheesy plugin to quickly pull open a Trac log on project files, so 
> it would be handy... 

Try importing wingwebbrowser instead.  We don't use webbrowser because
of the many bugs it used to have.  Ours should work alike.

You could also reach into the Wing internals with:

gApplication.fSingletons.fWingIDEApp.ExecuteURL(url)

Sounds like something we should add to the API...

- Stephan




More information about the wingide-users mailing list