Jump to content

Recommended Posts

Posted

Hello

I am a newbie to this AutoIt.

I have a window named "current Litings".

In the window i have n reports, on which i want to find and select and open the particular report "12a (3M) Core Measures Referral List". how to do that?

Please help.

Posted

hi Sam137,

Firstly, Welcome to the AutoIt forums!! :ph34r:

Here's the AutoIt Wiki, a great resource if you wish to become proficient in AutoIt in no time.

Also, here's some forum guidelines(very short) in case you missed it:)

Ok, back to business :huh2:, With respect to your question, try using the AutoIt Window Info tool and search the help-file for the Control*() functions ;)

Happy coding :alien:,

-smartee

Posted

hi Sam137,

Firstly, Welcome to the AutoIt forums!! :ph34r:

Here's the AutoIt Wiki, a great resource if you wish to become proficient in AutoIt in no time.

Also, here's some forum guidelines(very short) in case you missed it:)

Ok, back to business :huh2:, With respect to your question, try using the AutoIt Window Info tool and search the help-file for the Control*() functions ;)

Happy coding :alien:,

-smartee

I have searched and could not know how to proceed with?? Please help

Posted

For this requirement, i coded like this.... but nothing is happening... please help

#Include <GuiListView.au3>

$gametype = "12a (3M) Core Measures Referral List"

$opts = "12a (3M) Core Measures Referral List"

;$opts = "Large"

$chnd = ControlGetHandle("Current Listings", "", "SysListView322")

For $i = controllistview ("Current Listings", "", "SysListView322", "GetItemCount") to 1 step -1

$txt = controllistview ("Current Listings", "", "SysListView322", "GetText", $i, 2)

if $txt = $gametype Then

$txt = controllistview ("Current Listings", "", "SysListView322", "GetText", $i, 4)

if $txt = $opts Then

;~ controllistview ("Current Listings", "", "SysListView322", "Select", $i)

_GUICtrlListView_SetItemSelected($chnd, $i)

_GUICtrlListView_ClickItem($chnd, $i)

msgbox (0, "", "Found and selected item!")

WinActivate ("Current Listings")

quitnow ()

endIf

endIf

Next

Posted

Hmm, maybe a bit more info about the window/program you're trying to automate will help us help you :huh2: Some screenshots of the window with Autoit Window Info perhaps?

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...