Jump to content

Recommended Posts

Posted

Hi,

I have to select the tab according to the text in the title. If i do the wingettext i am getting many values. I have to check the seventh string of the $str_class.

How to store the values of $str_class in to array.

$Str_Class = string(WinGetText("Advanced Find",""))

MsgBox(0,"test", $str_class)

Thanks In Advance

Posted

Here is example, please explain better because it's hard to understand what you're trying to achieve:

#include <GUITab.au3>

Run('control sysdm.cpl')
WinWaitActive('System Properties')

$hwnd = WinGetHandle('System Properties')
$hTab = ControlGetHandle($hwnd, '', 'SysTabControl321')
While _GUICtrlTab_GetItemText($hTab, _GUICtrlTab_GetCurFocus($hTab)) <> 'advanced'
    ControlCommand('', '', $hTab, 'TabRight', '')
WEnd

Hi,

I have attached the screen shot.

In that screen. Advanced is the title of the screen. I have to select only the service call tab. In that i have to enter the value in the first two edit box.

post-48272-1242555476_thumb.gif

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
×
×
  • Create New...