Re: COM+, Javascript and Python

2005-05-31 Thread Peter Hansen
dannyguindi wrote: > Do you guys know if there is a way to do this in Linux? What is "this"? Your subject line provides a context, but not a problem to which we can give you the solution. Please be specific. -Peter -- http://mail.python.org/mailman/listinfo/python-list

Re: COM+, Javascript and Python

2005-05-31 Thread dannyguindi
Do you guys know if there is a way to do this in Linux? Thanks. Danny -- http://mail.python.org/mailman/listinfo/python-list

Re: Internet Explorer, COM+, Javascript and Python

2005-04-28 Thread J Correia
"Roger Upole" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Something like this should be close: > > import win32com.client, pythoncom > ie=win32com.client.Dispatch('internetexplorer.application') > ie.Visible=1 > ie.Navigate('somepagewithjavascript.html') > id=ie.Document.Script._

Re: Internet Explorer, COM+, Javascript and Python

2005-04-28 Thread Roger Upole
Something like this should be close: import win32com.client, pythoncom ie=win32com.client.Dispatch('internetexplorer.application') ie.Visible=1 ie.Navigate('somepagewithjavascript.html') id=ie.Document.Script._oleobj_.GetIDsOfNames('somejsfunction') res=ie.Document.Script._oleobj_.Invoke(id, 0, py

Internet Explorer, COM+, Javascript and Python

2005-04-27 Thread Ishpeck
I need to make IE execute javascript in a web page with COM+ and Python. Similarly to the way they do it in this article. . . http://www.codeproject.com/com/jscalls.asp -- http://mail.python.org/mailman/listinfo/python-list