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 >> pyxpcom
pyxpcom
Re: [pyxpcom] Using document from PyShell
by Jonathan Morgan other posts by this author
Jan 30 2009 3:08PM messages near this date
view in the new Beta List Site
Re: [pyxpcom] Using document from PyShell | Re: [pyxpcom] pyxpcom Digest, Vol 25, Issue 1
On Sat, Jan 31, 2009 at 7:10 AM, Todd Whiteman <toddw@[...].com>  wrote:
>  Jonathan Morgan wrote:
> >
> > I have installed the PyShell extension from the PyXPCOM website in
> > Firefox.  I haven't managed to figure out any way to get access to
> > document, window and friends, like you have in PyXPCOM Python scripts
> > and in the Javascript shell.  Is there any good way to get at these?
> 
>  Hi Jon,
> 
>  Sorry for the late reply, I've been on holidays till now.
> 
>  PyShell does not provide any special dom controls (unlike the JSShell). The
>  PyShell extension was written to make use of PyXPCOM (not PyDOM), in order
>  to demonstrate Python and XPCOM together.
> 
>  It probably could be expanded to include the PyDOM controls, thus giving
>  access to the DOM window, document, etc... I doubt I'll have time to be
>  working on this enhancement though.

Any pointers as to how?  A particular module to import or anything
like that?  I tried fiddling a bit with nsdom, but couldn't find
anything that looked like it was on the right track and gave up.

Thanks,

Jon
_______________________________________________
pyxpcom mailing list
pyxpcom@[...].com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Thread:
Jonathan Morgan
Todd Whiteman
Jonathan Morgan

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved