Jump to content

Some direction please


Clark
 Share

Recommended Posts

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

Link to comment
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!
¯\_(ツ)_/¯  ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ

Link to comment
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 2024-07-28 - Version 1.6.3.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts
OutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - Download
Outlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - Wiki
PowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - Wiki
Task Scheduler (2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki

Standard UDFs:
Excel - Example Scripts - Wiki
Word - Wiki

Tutorials:
ADO - Wiki
WebDriver - Wiki

 

Link to comment
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

Link to comment
Share on other sites

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!
¯\_(ツ)_/¯  ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ

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...