Sign in to follow this  
Followers 0
Clark

Some direction please

7 posts in this topic

Hi all

New AutoIT user here. Mainly using it to automate testing tasks.

Anyways, please see the following line:

$oOptions = $oSelectCurrentModel.options

Where can I find a reference to everything I can put in place of the "options" word? I have searched the documentation and FAQ but can't seem to find anything.

TIA

Clark

Share this post


Link to post
Share on other sites



It seems to be that $oSelectCurrentModel is an object and options is either a method or a property of the object.

How is $oSelectCurrentModel defined?

Br,

UEZ


Please don't send me any personal message and ask for support! I will not reply!

Selection of finest graphical examples at Codepen.io

The own fart smells best!
Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!
¯\_(ツ)_/¯  ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ

Share this post


Link to post
Share on other sites

It seems to be that $oSelectCurrentModel is an object and options is either a method or a property of the object.

Or a collection if objects.

What application do you try to automate?


My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2017-04-18 - Version 1.4.8.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (NEW 2017-02-27 - Version 1.3.1.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2015-04-01 - Version 0.4.0.0) - Download - General Help & Support - Example Scripts
Excel - Example Scripts - Wiki
Word - Wiki
PowerPoint (2015-06-06 - Version 0.0.5.0) - Download - General Help & Support

Tutorials:
ADO - Wiki

 

Share this post


Link to post
Share on other sites

Sorry, I was not clear enough.

My code has two examples where there is something after a dot.

E.g.

$oSelectCurrentModel = _IEFormElementGetObjByName ($oForm, "advPlay")

$oOptions = $oSelectCurrentModel.options

and

MsgBox (0, "AutoIT", "Max Boards available is " & $oOption.value )

When going through the help file, I see there are more; eg.

#include <IE.au3>

$oIE = _IECreate ("http://www.autoitscript.com")

$oForms = _IEFormGetCollection ($oIE)

MsgBox(0, "Forms Info", "There are " & @extended & " forms on this page")

For $oForm In $oForms

MsgBox(0, "Form Info", $oForm.name)

Next

So basically what I am looking for is documentation to read that describes all the keywords that I can put in place of the keywords in bold above. I'm not trying to solve anything, only to learn more.

Hope this is clearer.

regards

Clark

Share this post


Link to post
Share on other sites

#5 ·  Posted (edited)

Maybe this is what you are looking for: InternetExplorer Object

Br,

UEZ

Edited by UEZ

Please don't send me any personal message and ask for support! I will not reply!

Selection of finest graphical examples at Codepen.io

The own fart smells best!
Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!
¯\_(ツ)_/¯  ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ

Share this post


Link to post
Share on other sites

Thanks for that.

Plenty of stuff to absorb there.

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