Jump to content
Sign in to follow this  
AlmarM

_IEFormElementCheckboxSelect

Recommended Posts

AlmarM

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.

Share this post


Link to post
Share on other sites
PsaltyDS

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

Share this post


Link to post
Share on other sites
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

:)

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.

Share this post


Link to post
Share on other sites
PsaltyDS

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

Share this post


Link to post
Share on other sites
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?

:)

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.

Share this post


Link to post
Share on other sites
PsaltyDS

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

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.