Jump to content

Sethu1984

Members
  • Posts

    7
  • Joined

  • Last visited

Sethu1984's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. Thanks milpok, Now i am pretty clear from the link which u shared once again thanks for solving my issue and make me clear on this.
  2. Yes milpok this syntax is also working but have any idea why below one syntax is not working Class: HwndWrapper[WpfApplication9.vshost.exe;;0ef727d1-fc4b-41c4-8433-a9accda280d8] Not Working WinGetTitle("[REGEXPCLASS:(?i)HwndWrapper[WpfApplication9.vshost.exe;;0ef727d1-fc4b-41c4-8433-a9accda280d8]]") Working WinGetTitle("[REGEXPCLASS:(?i)HwndWrapper[WpfApplication9.vshost.exe;;.*0ef727d1-fc4b-41c4-8433-a9accda280d8]]")
  3. Thanks for reply, both of your suggestion returns 0. i can not get window title
  4. Thanks for reply. This script simply showing CLASS ID as shown by au3Info tool i tried to use this method inside WinGetTitle(_WinAPI_GetClassName($hwnd)) function but it returns 0
  5. Hi mrflibblehat find required details below au3 MsgBox(1,"AutoIT3",WinGetTitle("[CLASS:HwndWrapper[WpfApplication9.vshost.exe;;53428c5d-555b-4756-8d2a-d0cc92208132]]")) Summary >>>> Window <<<< Title: MainWindow Class: HwndWrapper[WpfApplication9.vshost.exe;;53428c5d-555b-4756-8d2a-d0cc92208132] Position: 132, 174 Size: 525, 350 Style: 0x16CF0000 ExStyle: 0x00040100 Handle: 0x00030724 >>>> Control <<<< Class: Instance: ClassnameNN: Name: Advanced (Class): ID: Text: Position: Size: ControlClick Coords: Style: ExStyle: Handle: >>>> Mouse <<<< Position: 508, 198 Cursor ID: 0 Color: 0x82A9E9 >>>> StatusBar <<<< >>>> ToolsBar <<<< >>>> Visible Text <<<< >>>> Hidden Text <<<<
  6. Hi, I am trying to access WPF window title by its class id which i found from Au3Info.exe but it retunrs 0 but same method works for most of the winform controls. I suspect special characters (Square Bracket "[]") appears in class id of WPF windows is causing for failiure of accessing its titile. can anyboyd help me on this? Working Local $winTitle = WinGetTitle("[CLASS:Notepad]") MsgBox(1,"Test",$winTitle) Not Working Local $winTitle = WinGetTitle("[CLASS:HwndWrapper[MainWindow.exe;;76a6129f-c1f4-4d90-b109-c51279623bc6]]") MsgBox(1,"AutoIt",$winTitle) Thank in Advance
×
×
  • Create New...