FusionAura Posted August 31, 2008 Share Posted August 31, 2008 #cs This sample code will: 1) Create a new browser window 2) Navigate to http://www.autoitscript.com 3) click on the 'forum' link 4) click on the 'Search' link 5) get the object reference for the form named 'sForm' 6) get the object reference for the form field 'keywords' in the form 'sForm' 7) enter the value 'ReadyState' into the 'keywords' field 8) submit the form to return the search results #ce #include <IE.au3> $o_IE = _IECreate () _IENavigate ($o_IE, "http://autoitscript.com") _IEClickLinkByText ($o_IE, "forum") _IEClickLinkByText ($o_IE, "Forums") _IEClickLinkByText ($o_IE, "Search") $o_SearchForm = _IEFormGetObjByName ($o_IE, "sForm") $o_Keywords = _IEFormElementGetObjByName ($o_SearchForm, "keywords") _IEFormElementSetValue ($o_Keywords, "ReadyState") _IEFormSubmit ($o_SearchForm) Basically, i was testing that code...It was from a post of the creator of IE.au3 (Forgot his name) But...I keep getting this error Line -1: Error Unknown Function Name Anyone can help? Link to comment Share on other sites More sharing options...
Valuater Posted August 31, 2008 Share Posted August 31, 2008 (edited) just a quick fix... #cs This sample code will: 1) Create a new browser window 2) Navigate to http://www.autoitscript.com 3) click on the 'forum' link 4) click on the 'Search' link #ce #include <IE.au3> $o_IE = _IECreate () _IENavigate ($o_IE, "http://autoitscript.com") _IELinkClickByText ($o_IE, "forum") _IELinkClickByText ($o_IE, "Forums") _IELinkClickByText ($o_IE, "Search") 1. The IE.au3 version has changed and is built-in to Autoit 2. The Forum has changed since then and the location and name for the form has changed 3. Dale Hohm 8) Edited August 31, 2008 by Valuater Link to comment Share on other sites More sharing options...
FusionAura Posted August 31, 2008 Author Share Posted August 31, 2008 Thanks so much mate! Link to comment Share on other sites More sharing options...
tommytx Posted June 13, 2009 Share Posted June 13, 2009 I am having the exact same problem, with the Error: Unknown fucntion Name. It is calling out line 5 as the unknown function name. -> _IEClickLinkByText ($o_IE, "forum") I have installed the latest autoit3 and it works fine on normal programs. I have installed the beta also... IE.au3 is ins the same directory as the program. Any Ideas... how can I confirm that the IE.au3 features are working correctly. #include <IE.au3> $o_IE = _IECreate () _IENavigate ($o_IE, "http://autoitscript.com") _IEClickLinkByText ($o_IE, "forum") _IEClickLinkByText ($o_IE, "Forums") _IEClickLinkByText ($o_IE, "Search") $o_SearchForm = _IEFormGetObjByName ($o_IE, "sForm") $o_Keywords = _IEFormElementGetObjByName ($o_SearchForm, "keywords") _IEFormElementSetValue ($o_Keywords, "ReadyState") _IEFormSubmit ($o_SearchForm) Thanks Link to comment Share on other sites More sharing options...
bogQ Posted June 13, 2009 Share Posted June 13, 2009 I am having the exact same problem, with the Error: Unknown fucntion Name. changes from _IEClickLinkByText to _IELinkClickByText see help file for command _IELinkClickByText ( ByRef $o_object, $s_linkText [, $i_index = 0], $f_wait = 1]] ) TCP server and client - Learning about TCP servers and clients connectionAu3 oIrrlicht - Irrlicht projectAu3impact - Another 3D DLL game engine for autoit. (3impact 3Drad related) There are those that believe that the perfect heist lies in the preparation.Some say that it’s all in the timing, seizing the right opportunity. Others even say it’s the ability to leave no trace behind, be a ghost. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now