Jump to content
Sign in to follow this  
RapCrap

IE.au3

Recommended Posts

I got the new beta, and everytime I try and run this:

#include <IE.au3>

$oIE = _IECreate()
_IENavigate($oIE, "http://www.google.com")

$oForm = _IEFormGetObjByName($oIE, "f")
$oQuery = _IEFormElementGetObjByName($oForm, "q")
$oButton = _IEFormElementGetObjByName($oForm, "btnG")

_IEFormElementSetValue($oQuery, "place your search string here")
$oButton.click
_IELoadWait($oIE)

Exit

I get this message:

>"C:\Documents and Settings\Administrator\Desktop\AutoIt3\SciTE\AutoIt3Wrapper\AutoIt3Wrapper.exe" /run /beta /ErrorStdOut /in "C:\Documents and Settings\Administrator\Desktop\fg.au3" /autoit3dir "C:\Documents and Settings\Administrator\Desktop\AutoIt3\beta" /UserParams

>Running AU3Check params: from:C:\Documents and Settings\Administrator\Desktop\AutoIt3\SciTE\au3check\

+>AU3Check ended.rc:0

>Running:(3.1.1.0):C:\Documents and Settings\Administrator\Desktop\AutoIt3\autoit3.exe "C:\Documents and Settings\Administrator\Desktop\fg.au3"

C:\Documents and Settings\Administrator\Desktop\AutoIt3\Include\IE.au3 (311) : ==> "Case" statement with no matching "Select" statement.:

Case "0"

->AutoIT3.exe ended.rc:1

>Exit code: 1 Time: 1.330

Share this post


Link to post
Share on other sites

I got the new beta, and everytime I try and run this:

>Running:(3.1.1.0):C:\Documents and Settings\Administrator\Desktop\AutoIt3\autoit3.exe "C:\Documents and Settings\Administrator\Desktop\fg.au3"

BUT you are running production ....

What have you done during installation of Production and Beta installation ? Changed the target directory ?

Edited by JdeB

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  

×
×
  • Create New...