Sign in to follow this  
Followers 0
Mayur

Unable to click

5 posts in this topic

Hi all,

Currently in our application there are some buttons for which auto it recognizes as one frame not separate buttons please see below window summary & screen shot.

>>>> Window <<<<

Title: xRecipe [user: mayur]

Class: WindowsForms10.window.8.app.0.2ca5f28

Position: -4, -4

Size: 1288, 1002

Style: 0x17CF0000

ExStyle: 0x00050100

Handle: 0x001F008E

>>>> Control <<<<

Class: WindowsForms10.window.8.app.0.2ca5f28

Instance: 5

ClassnameNN: WindowsForms10.window.8.app.0.2ca5f285

Name: ListBar

Advanced (Class): [NAME:ListBar]

ID: 1966350

Text:

Position: 1, 50

Size: 198, 924

ControlClick Coords: 86, 851

Style: 0x56010000

ExStyle: 0x00010000

Handle: 0x001E010E

>>>> Mouse <<<<

Position: 87, 920

Cursor ID: 0

Color: 0xDED3CE

>>>> StatusBar <<<<

>>>> ToolsBar <<<<

>>>> Visible Text <<<<

Header

Validate

Recipe not Selected

toolStrip1

menuStrip1

>>>> Hidden Text <<<<

Please tell me how can i use these buttons for writing automation scripts.

Regards,

Mayur

post-55933-12874849296693_thumb.jpg

Share this post


Link to post
Share on other sites



Most tree based menus can be accessed by using "send". Since production is highlighted, use Send("{enter}") or Send("{right}" you can go up and down the tree view with arrow keys. Also i know this might work. To access other branches that are exposed send("name") should take you straight to it.


 

Spoiler

shoot_zpsfd329d66.png
dontbelieveeverythingyouthink_zps0e1e900

Madness is the first step to understanding...

Share this post


Link to post
Share on other sites

Most tree based menus can be accessed by using "send". Since production is highlighted, use Send("{enter}") or Send("{right}" you can go up and down the tree view with arrow keys. Also i know this might work. To access other branches that are exposed send("name") should take you straight to it.

Sorry It's not working i am talking about buttons with name Recipes,Procedures,Operation Templates,Materials,Resources.AutoIt recognises it as Listbar.

& The below two folders Production & Scratch are recognized as Tree-view.

Please let me know is there any solution.

Share this post


Link to post
Share on other sites

I am trying ControlCommand with "SendCommandID", Command ID but i am not able to get WM_COMMAND but not able to get Control ID,

I am using Winspector SPY anyone having different solution.

Please Let me know.

Thanks,

Mayur

Share this post


Link to post
Share on other sites

#5 ·  Posted (edited)

I am trying ControlCommand with "SendCommandID", Command ID but i am not able to get WM_COMMAND but not able to get Control ID,

I am using Winspector SPY anyone having different solution.

Please Let me know.

Thanks,

Mayur

Can i automate it with WM_NOTIFY Command ?

Edited by Mayur

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  
Followers 0