Jump to content

_IEFormElementCheckboxSelect


AlmarM
 Share

Recommended Posts

Hi,

Can someone explain me how _IEFormElementCheckboxSelect works?

Could someone make an example on this checkbox: http://www.autoitscript.com/forum/index.php?act=Search ? ('Match Exact Name')

AlmarM

Minesweeper

A minesweeper game created in autoit, source available.

_Mouse_UDF

An UDF for registering functions to mouse events, made in pure autoit.

2D Hitbox Editor

A 2D hitbox editor for quick creation of 2D sphere and rectangle hitboxes.

Link to comment
Share on other sites

Hi,

Can someone explain me how _IEFormElementCheckboxSelect works?

Could someone make an example on this checkbox: http://www.autoitscript.com/forum/index.php?act=Search ? ('Match Exact Name')

AlmarM

Didn't you try the examples in the help file...?

#include <IE.au3>

HotKeySet("{ESC}" , "_Quit")

_IEErrorHandlerRegister()

Global $sURL = "http://www.autoitscript.com/forum/index.php?act=Search"
Global $f_SetClr = 0

Global $oIE = _IECreate($sURL)
Global $oForm = _IEFormGetObjByName($oIE, "sForm")

While 1
    _IEFormElementCheckBoxSelect($oForm, "1", "matchexact", $f_SetClr)
    $f_SetClr = Mod($f_SetClr + 1, 2)
    Sleep(2000)
WEnd

Func _Quit()
    Exit
EndFunc

:)

Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law
Link to comment
Share on other sites

Didn't you try the examples in the help file...?

#include <IE.au3>

HotKeySet("{ESC}" , "_Quit")

_IEErrorHandlerRegister()

Global $sURL = "http://www.autoitscript.com/forum/index.php?act=Search"
Global $f_SetClr = 0

Global $oIE = _IECreate($sURL)
Global $oForm = _IEFormGetObjByName($oIE, "sForm")

While 1
    _IEFormElementCheckBoxSelect($oForm, "1", "matchexact", $f_SetClr)
    $f_SetClr = Mod($f_SetClr + 1, 2)
    Sleep(2000)
WEnd

Func _Quit()
    Exit
EndFunc

:)

My _IE_Example() wont work :S

AlmarM

Minesweeper

A minesweeper game created in autoit, source available.

_Mouse_UDF

An UDF for registering functions to mouse events, made in pure autoit.

2D Hitbox Editor

A 2D hitbox editor for quick creation of 2D sphere and rectangle hitboxes.

Link to comment
Share on other sites

My _IE_Example() wont work :S

AlmarM

Why not? Why are you trying work on scripts in an environment you already know is broken? Why aren't you troubleshooting your install of AutoIt before trying to debug scripts?

:)

Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law
Link to comment
Share on other sites

Why not? Why are you trying work on scripts in an environment you already know is broken? Why aren't you troubleshooting your install of AutoIt before trying to debug scripts?

:)

Im getting this error:

C:\Program Files\AutoIt3\Include\IE.au3 (2348) : ==> The requested action with this object has failed.:
$o_object.document.Write($s_html)
$o_object.document.Write($s_html)^ ERROR

AlmarM

Minesweeper

A minesweeper game created in autoit, source available.

_Mouse_UDF

An UDF for registering functions to mouse events, made in pure autoit.

2D Hitbox Editor

A 2D hitbox editor for quick creation of 2D sphere and rectangle hitboxes.

Link to comment
Share on other sites

Im getting this error:

C:\Program Files\AutoIt3\Include\IE.au3 (2348) : ==> The requested action with this object has failed.:
$o_object.document.Write($s_html)
$o_object.document.Write($s_html)^ ERROR

AlmarM

Reinstall AutoIt 3.3.0.0 and make sure you uninstall the old Betas first. Fix your environment before you script in it.

:)

Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law
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...