Jump to content

tabbed interface


ggg
 Share

Recommended Posts

How does one handle a window with tabs at the top. The tabs don't

seem to be associated with controls.

For example, the Wireless Network Connection Status window

on XP has General and Support tabs.

Link to comment
Share on other sites

Hi ggg :whistle:

I have no idea why do you think that for instance this tab-control is _no_ control...

Did you use "Autoit Window Info" for getting details about the control?

So just try "SysTabControl321".

Or didn't I understand it right what you mean?

Regards

Holger

Link to comment
Share on other sites

I think I am getting closer but am still having problems.

The first part of my scirpt is below.

The Send command just navigates to the window and that seems ok.

However, the message box never seems to appear unless I manually

click on the Wireless Network Connection Status window at which

point it does appear.

Do you know what I am doing wrong?

Thanks.

----

; start the Wireless Connection Status window

Send("{LWINDOWN}{LWINUP}ss{RIGHT}nw{ENTER}")

; MsgBox with current tab number

WinWaitActive("Wireless Network Connection Status", "")

ControlFocus("Wireless Network Connection Status", "", 12320)

$tab = ControlCommand("Wireless Network Connection Status", "", 12320, "CurrentTab", "")

MsgBox(0, "", $tab)

Exit

Link to comment
Share on other sites

I think the problem is that the control is a SysTabControl321 but

the ControlCommand help indicates that it works with a

SysTabControl32.

Is there some alternate approach that will work here?

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