Jump to content

Recommended Posts

Posted

Hi,

I have a combobox with classname "TOraLookupCombobox1", function ControlCommand is not working if I mention the classname at the palce of ControlID. But the remaining functions "ControlClick, ControlSend, ControlGetText, ControlGetHandle" are working well with the same class name.

Why the controlCommand is not working can any one help me in this issue.

-Ramaraju

Posted

Some controls will resist automation unless they are the active window. Use the WinActive() function to force the control's window to the top before using ControlCommand() on these controls.

Certain commands that work on normal Combo and ListBoxes do not work on "ComboLBox" controls.

UnderWorldVN- Just play the way you like it
Posted

The classNN should be the first param not the third.

The first three params of ControlCommand should be the same as ControlGetHandle (if its the same control)

Post your code because code says more then your words can. SciTe Debug mode - it's magic: #AutoIt3Wrapper_run_debug_mode=Y. Use Opt("MustDeclareVars", 1)[topic="84960"]Brett F's Learning To Script with AutoIt V3[/topic][topic="21048"]Valuater's AutoIt 1-2-3, Class... is now in Session[/topic]Contribution: [topic="87994"]Get SVN Rev Number[/topic], [topic="93527"]Control Handle under mouse[/topic], [topic="91966"]A Presentation using AutoIt[/topic], [topic="112756"]Log ConsoleWrite output in Scite[/topic]

Posted (edited)

Please post your code.

For ControlClick = ControlGetText("Import Options","","TOraLookupCombobox1") - Working

For ControlCommand = ControlCommand("Import Options","","TOraLookupCombobox1","SelectString",'ICN_IPD_MAP') - not working

Edited by sagirajuramaraju
Posted

For ControlClick = ControlGetText("Import Options","","TOraLookupCombobox1") - Working

For ControlCommand = ControlCommand("Import Options","","TOraLookupCombobox1","SelectString",'ICN_IPD_MAP') - not working

ICN_IPD_MAP - what this?

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