Jump to content

IE.au3 (776) : ==> Unable to parse line


litlmike
 Share

Recommended Posts

I get the following error:

C:\Program Files\AutoIt3\Include\IE.au3 (776) : ==> Unable to parse line.:

If IsObj($o_object.elements) Then

If IsObj($o_object.e^ ERROR

>AutoIT3.exe ended.

>Exit code: 0 Time: 0.713

Anyone know why? I tried to run the following Code from 'Examples.txt' Valuater's IE.au3 Builder - for IE.au3 Library.

#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)
Link to comment
Share on other sites

I get the following error:

C:\Program Files\AutoIt3\Include\IE.au3 (776) : ==> Unable to parse line.:

If IsObj($o_object.elements) Then

If IsObj($o_object.e^ ERROR

>AutoIT3.exe ended.

>Exit code: 0 Time: 0.713

Anyone know why? I tried to run the following Code from 'Examples.txt' Valuater's IE.au3 Builder - for IE.au3 Library.

#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)
Sounds like you might be running the code with v3 and not the beta version. If you haven't installed the beta version, do that. If you have installed the beta version, make sure that you're not running the script with version 3 instead. You may want to check your file associations. You may be able to right click and choose "Open With" and manually select the beta version to ensure that you're using the right one.
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...