Jump to content
Sign in to follow this  
FusionAura

IE.au3 Error...

Recommended Posts

FusionAura

#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?

Share this post


Link to post
Share on other sites
Valuater

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 by Valuater

NEWHeader1.png

Share this post


Link to post
Share on other sites
tommytx

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

Share this post


Link to post
Share on other sites
bogQ

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 connection
Au3 oIrrlicht - Irrlicht project
Au3impact - Another 3D DLL game engine for autoit. (3impact 3Drad related)



460px-Thief-4-temp-banner.jpg
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.

 

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.