Sign in to follow this  
Followers 0
patlim4152

IE.au3 installation problems

11 posts in this topic

Hello,

I was wondering if anyone else got this error:

[sTART QUOTE]

Line 776 (File "C:\...\au3"):

If IsObj($o_object.elements) Then

If IsObj($o_object.e^ERROR

Error: Unable to parse line.

[END QUOTE]

where I left out the actual directory.

I believe I have done all the steps required, I installed the latest version of SciTE, I downloaded the beta version of auto-it, "autoit-v3.1.1.109-beta-Setup.exe 17-Feb-2006 14:52 2.1M". I get this problem when trying to run the script ie.au3

Any help would be appreciated, Thanks

Share this post


Link to post
Share on other sites



Welcome to the forums

IE.au3 is a library of helpful Internet Explorer Functions... you do not run it

to use the IE.au3 Libt=rary you need to download it and place it here "...\Autoit3\Beta\Include\IE.au3"

you can download the IE.au3 Library here

http://www.autoitscript.com/forum/index.php?showtopic=13398#

*** the link on the above post is dead

8)


NEWHeader1.png

Share this post


Link to post
Share on other sites

Thanks for the warm welcome. =)

However it didn't solve the problem, I made a temp.au3 with the following lines:

[sTART QUOTE]

#include <IE.au3>

$o_IE = _IECreate ()

_IENavigate ($o_IE, "http://autoitscript.com")

_IEClickLinkByText ($o_IE, "forum")

_IEClickLinkByText ($o_IE, "Search")

$o_SearchForm = _IEFormGetObjByName ($o_IE, "sForm")

$o_Keywords = _IEFormElementGetObjByName ($o_SearchForm, "keywords")

_IEFormElementSetValue ($o_Keywords, "ReadyState")

_IEFormSubmit ($o_SearchForm)

[END QUOTE]

it was from one of the examples, and I'm still getting the same error.

Share this post


Link to post
Share on other sites

1

did you place the IE.au3 file in the BETA include folder???

2

you should check out this Tut... it has those examples and more

http://www.autoitscript.com/forum/index.php?showtopic=21048#

8)

Yup, ie.au3 is in the C:\Program Files\AutoIt3\beta\Include folder. Even running the above file from the beta include folder and the error still persists.

That thread seems like a game. =P

Share this post


Link to post
Share on other sites

#7 ·  Posted (edited)

if you are using SciTE... be sure to press

Tools > Beta Run

8)

EDIT..

Just tested your script and it works fine

Edited by Valuater

NEWHeader1.png

Share this post


Link to post
Share on other sites

if you are using SciTE... be sure to press

Tools > Beta Run

8)

EDIT..

Just tested your script and it works fine

LOL, that was it. Thanks. Question though, any way to run it but not from SciTE? Like double-clicking it or something?

Share this post


Link to post
Share on other sites

compile it...with beta

Tools > Beta Compile

8)


NEWHeader1.png

Share this post


Link to post
Share on other sites

compile it...with beta

Tools > Beta Compile

8)

Lovely, Thanks. =)

Share this post


Link to post
Share on other sites

Welcome

Glad i could help

8)


NEWHeader1.png

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  
Followers 0