kipcoi Posted October 19, 2015 Posted October 19, 2015 (edited) Dear all,Today I try to control click a ToolbarWindow32 by code :ControlClick("TEMS", "", "[CLASS:ToolbarWindow32; INSTANCE:5]", "left", 1, 35, 14 ) ; Click vao icon Open Map trong tab MapIn my computer is OK, but in another computer, the control I need to click has another INSTANCE number like : "[CLASS:ToolbarWindow32; INSTANCE:2]"So how I controlclick that toolbar,maybe via ID. Here is information in Autoit Info :expandcollapse popup>>>> Window <<<< Title: TEMS Investigation 10.0.5 Data Collection - [vms3.tdc *] - [Map] Class: C:\Program Files\Ascom\TEMS Products\TEMS Investigation\Application\Investigation.exe Position: -4, -4 Size: 1374, 746 Style: 0x15CF0000 ExStyle: 0x00000100 Handle: 0x006F0448 >>>> Control <<<< Class: ToolbarWindow32 Instance: 5 ClassnameNN: ToolbarWindow325 Name: Advanced (Class): [CLASS:ToolbarWindow32; INSTANCE:5] ID: 101 Text: Position: -2, 28 Size: 442, 30 ControlClick Coords: 35, 14 Style: 0x5400884E ExStyle: 0x00000000 Handle: 0x004B0420 >>>> Mouse <<<< Position: 33, 88 Cursor ID: 0 Color: 0x00FFFF >>>> StatusBar <<<< 1: For Help, press F1 2: Play: [02F.log...] 100% 3: Rec: [] 0 4: >>>> ToolsBar <<<< 1: 38786 FPlus 2: 38787 FPlus - Chồng Tó Quỳnh 3: 38791 Notepad 4: 38792 Untitled - Notepad 5: 38793 Internet Explorer 6: 0 Status Bar Text - AutoIt General Help and Support - AutoIt Forums - Windows Int 7: 38770 Windows Explorer 8: 38771 Auto TEMS 9: 0 Investigation 10: 38774 TEMS Investigation 10.0.5 Data Collection - [vms3.tdc *] - [Map] >>>> Visible Text <<<< For Help, press F1 Replay Replay Navigator Map Data Scanner Overview Signaling Ctrl & Config Map Map Map ALL List1 >>>> Hidden Text <<<< File and View Recording Equipment Control Not a Scanning Device Navigator Menu Attribute Tool Info Element Worksheets Tree1 Tree2 Tree3 Information Elements Events Cells WCDMA CPICH Scan 1 UARFCN Line Chart [MS1] Hold Events Data Reports GSM Current Channel [MS1] GSM Serving + Neighbors [MS1] WCDMA GSM Neighbors [MS1] Command Sequence For Help, press F1 General Equipment Configuration For Help, press F1 Audio Indications Event Definition GSM RSSI Scan Bar Chart [MS1] Mode Reports Events WCDMA CPICH Scan 1 UARFCN Line Chart [MS1] Hold GSM PDP Context [MS1] WCDMA PDP Context [MS1] Data Session [DC1] WCDMA Rel. 99/GSM Data Line Chart [MS1-DC1] Hold Data Reports Layer 2 Messages Events Mode Reports Layer 3 Messages Events WCDMA Radio Parameters [MS1] GSM Radio Parameters [MS1] WCDMA/GSM Line Chart [MS1] Hold Edited October 19, 2015 by Melba23 Fixed tags
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