Something like this should be close:
import win32com.client, pythoncom
ie=win32com.client.Dispatch('internetexplorer.appl ication')
ie.Visible=1
ie.Navigate('somepagewithjavascript.html')
id=ie.Document.Script._oleobj_.GetIDsOfNames('some jsfunction')
res=ie.Document.Script._oleobj_.Invoke(id, 0, pythoncom.DISPATCH_METHOD,
True, <parameter or tuple of parameters> )
hth
Roger
"Ishpeck" <is*****@gmail.com> wrote in message
news:11**********************@f14g2000cwb.googlegr oups.com...
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
----== Posted via Newsfeeds.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups
----= East and West-Coast Server Farms - Total Privacy via Encryption =----