Jump to content
Sign in to follow this  
nkrissh

Click an option

Recommended Posts

nkrissh

Hi All,

I am new to AutoIt programming and I am not very clear on how to use the information provided by "Window Info" tool.

I have three tabs ProjectA, ProjectB and ProjectC. ProjectA tab is selected by default and I am not able to click on the other two tabs, but when I try to capture their properties using "Windows Info" tool I get the following details.

>>>> Window <<<<

Title: C++ - [ Proj1 ] - Proj1.new

Class: TMainForm

Position: -4, -4

Size: 1288, 780

Style: 0x17CF0000

ExStyle: 0x00010110

Handle: 0x004A020E

>>>> Control <<<<

Class: TPageControl

Instance: 1

ClassnameNN: TPageControl1

Advanced (Class): [CLASS:TPageControl; INSTANCE:1]

ID: 10027978

Text:

Position: 0, 84

Size: 257, 598

ControlClick Coords: 35, 12

Style: 0x56010000

ExStyle: 0x00000000

Handle: 0x009903CA

>>>> Mouse <<<<

Position: 35, 134

Cursor ID: 0

Color: 0xD4D0C8

>>>> StatusBar <<<<

>>>> Visible Text <<<<

Project

main.cpp

#include <iostream>

using namespace std;

int main ()

{

cout << "Hello World!";

cout << "I am a C++ Program";

return 0;

}

9: 2

Project

Options

Compile and Run

Main

>>>> Hidden Text <<<<

ProjectB

ProjectC

Can anyone please help me on this.

Thanks in Advance

nkrissh

Share this post


Link to post
Share on other sites
MvL

Hello,

perhaps you can try a keystroke that brings you to the next tab:

Try

Send("^{PGDN}")

and to go back:

Send("^{PGUP}")

Martin

Share this post


Link to post
Share on other sites
nkrissh

Hello,

perhaps you can try a keystroke that brings you to the next tab:

Try

Send("^{PGDN}")

and to go back:

Send("^{PGUP}")

Martin

Share this post


Link to post
Share on other sites
nkrissh

Hi,

Thanks for your reply.

It does not seem to respond to any shortcuts and nothing seems to work, is there any other option I can try using those summary information.

Thanks,

nkrissh

Share this post


Link to post
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
Sign in to follow this  

×