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
|