Queener Posted September 25, 2013 Share Posted September 25, 2013 (edited) I know of an alternative way to accomblish this (ImageSearch), but was looking for an easier way to do it if anybody knows. The reason I'm not using my alternative ways is because imagesearch 32bit doesnot work on 64 and vice versa. On VMware Infrastructure client, I'm looking for a way to detect the server state. If server state is shown as Powered Off then turn them on by right-click on "Power Off" then click Power On. expandcollapse popup>>>> Window <<<< Title: VMware Infrastructure Client Class: WindowsForms10.Window.8.app.0.259f9d2 Position: -8, -8 Size: 1616, 876 Style: 0x17CF0000 ExStyle: 0x00050100 Handle: 0x00000000001303FC >>>> Control <<<< Class: WindowsForms10.SysListView32.app.0.259f9d2 Instance: 1 ClassnameNN: WindowsForms10.SysListView32.app.0.259f9d21 Name: Advanced (Class): [CLASS:WindowsForms10.SysListView32.app.0.259f9d2; INSTANCE:1] ID: 1640176 Text: Position: 209, 170 Size: 1385, 509 ControlClick Coords: 396, 54 Style: 0x56010141 ExStyle: 0x00000000 Handle: 0x00000000001906F0 >>>> Mouse <<<< Position: 605, 266 Cursor ID: 0 Color: 0xFFFFFF >>>> StatusBar <<<< >>>> ToolsBar <<<< >>>> Visible Text <<<< Back Forward New Virtual Machine New Resource Pool VMware ESX Server 3i, 3.5.0, 130755 Getting Started Summary Virtual Machines Resource Allocation Performance Configuration Users & Groups Power On Power Off Events Permissions Name, State, Host or Guest OS contains: Clear Hosts & Clusters Inventory Administration Recent Tasks Tasks >>>> Hidden Text <<<< Days Remaining I can see visible text is showing Power On and Power Off. I haven't started bc am not sure how to start. If anybody know of a way to right click on visible text; please advice. Thanks in advance. Edited September 25, 2013 by asianqueen Msgbox(0, "Hate", "Just hate it when I post a question and find my own answer after a couple tries. But if I don't post the question, I can't seem to resolve it at all.") 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