Mayur 0 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 Share this post Link to post Share on other sites
Somerset 3,072 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. Spoiler Share this post Link to post Share on other sites
Mayur 0 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. Share this post Link to post Share on other sites
Mayur 0 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 Share this post Link to post Share on other sites
Mayur 0 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 Share this post Link to post Share on other sites