Tosyk Posted September 27, 2020 Posted September 27, 2020 so according to AutoIt window info my window is: expandcollapse popup>>>> Window <<<< Title: UniViewer Class: Mono.WinForms.0.0 Position: 255, 225 Size: 462, 412 Style: 0x16CB0000 ExStyle: 0x00050100 Handle: 0x002803B6 >>>> Control <<<< Class: Instance: ClassnameNN: Name: Advanced (Class): ID: Text: Position: Size: ControlClick Coords: Style: ExStyle: Handle: >>>> Mouse <<<< Position: 547, 248 Cursor ID: 0 Color: 0x909090 >>>> StatusBar <<<< >>>> ToolsBar <<<< >>>> Visible Text <<<< Developer : Notes Export Textures PNG Export Model OBJ IQE NEX Load Load ... ... Skeleton File : Model File : >>>> Hidden Text <<<< but I can't get access to it with $hWndMain = WinWait("[CLASS:Mono.WinForms.0.0]", "", 2) Sleep(12000) If WinExists($hWndMain) Then MsgBox(0, "", "Window exists") Else MsgBox(0, "", "Window does not exist") EndIf how I can get access to the window? p.s: eventually I need to insert my path into Model file textfield.
Earthshine Posted September 27, 2020 Posted September 27, 2020 Nope. It’s .net use UIAutomation My resources are limited. You must ask the right questions
Tosyk Posted September 27, 2020 Author Posted September 27, 2020 9 minutes ago, Earthshine said: Nope. It’s .net use UIAutomation thank you. do you mind give me a same code I have but for ui automation?
Tosyk Posted September 29, 2020 Author Posted September 29, 2020 excuse me, can anyone give me examples of using UIAutomation? I couldn't find anything useful for my case
Earthshine Posted September 30, 2020 Posted September 30, 2020 Use the form search and the Wiki FAQs. Tons of excellent examples and threads. It’s a large learning curve My resources are limited. You must ask the right questions
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