Prev: Parsing file name
Next: help with the script
From: at on 30 Mar 2010 14:52 Hi, After load page with Set ie = CreateObject("InternetExplorer.Application") ie.navigate "http://www.random_web.com" i want call function javascript in this page, how to ? Thx
From: Tom Lavedas on 30 Mar 2010 16:31 On Mar 30, 2:52 pm, at <a...(a)noemail.fr> wrote: > Hi, > > After load page with > > Set ie = CreateObject("InternetExplorer.Application") > > ie.navigate "http://www.random_web.com" > > i want call function javascript in this page, how to ? > > Thx Set ie = CreateObject("InternetExplorer.Application") ie.navigate "http://www.random_web.com" do until ie.readystate = 4 : wsh.sleep 100 : loop ie.visible = true res = ie.document.parentWindow.JavaFunction(parameters_if_any) _____________________ Tom Lavedas
From: at on 31 Mar 2010 15:39 Tom Lavedas a exprim� avec pr�cision : > Set ie = CreateObject("InternetExplorer.Application") > ie.navigate "http://www.random_web.com" > do until ie.readystate = 4 : wsh.sleep 100 : loop > ie.visible = true > res = ie.document.parentWindow.JavaFunction(parameters_if_any) THX, but the right is ie.document.parentWindow.execScript("parameters") Regards.
From: Tom Lavedas on 31 Mar 2010 17:11 On Mar 31, 3:39 pm, at <a...(a)noemail.fr> wrote: > Tom Lavedas a exprimé avec précision : > > > Set ie = CreateObject("InternetExplorer.Application") > > ie.navigate "http://www.random_web.com" > > do until ie.readystate = 4 : wsh.sleep 100 : loop > > ie.visible = true > > res = ie.document.parentWindow.JavaFunction(parameters_if_any) > > THX, but the right is > > ie.document.parentWindow.execScript("parameters") > > Regards. Mine works too as long as it is understood that the name of the Java function to be executed is actually "JavaFunction". I guess I didn't make that clear. _____________________ Tom Lavedas
|
Pages: 1 Prev: Parsing file name Next: help with the script |