Mayur Posted October 19, 2010 Share Posted October 19, 2010 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 Link to comment Share on other sites More sharing options...
Somerset Posted October 19, 2010 Share Posted October 19, 2010 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. Link to comment Share on other sites More sharing options...
Mayur Posted October 20, 2010 Author Share Posted October 20, 2010 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. Link to comment Share on other sites More sharing options...
Mayur Posted October 21, 2010 Author Share Posted October 21, 2010 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 Link to comment Share on other sites More sharing options...
Mayur Posted October 22, 2010 Author Share Posted October 22, 2010 (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,MayurCan i automate it with WM_NOTIFY Command ? Edited October 22, 2010 by Mayur Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now