Jump to content

"X \ Y \ W \ H" question


Recommended Posts

Title:
Class:
Position: 119, 44
Size: 195, 308

 

  $sHandle = WinGetHandle("[X:119;Y:44;W:195;H:308]", "");

  $sHandle = WinGetHandle("[X:119Y:44W:195H:308]", "");

  $sHandle = WinGetHandle("[11944195308]", "");

  $sHandle = WinGetHandle("[119;44;195;308]", "");

 

Oh please tell me where my formatting is wrong

Link to comment
Share on other sites

There must be a better way:

$hwnd = WinGetHandle("[X: 119; Y: 44; W: 195; H: 308]")ConsoleWrite($hwnd 
& @CRLF)

looks like the [autoit] wrapper no longer works?!---edit: thanks water...further edit, it needs a little more work :)...ppps, the links for the functions are no longer present (this is the SQA in me)

Oh, and not all 4 are required...you can mix/match them

Edited by jdelaney
IEbyXPATH-Grab IE DOM objects by XPATH IEscriptRecord-Makings of an IE script recorder ExcelFromXML-Create Excel docs without excel installed GetAllWindowControls-Output all control data on a given window.
Link to comment
Share on other sites

jdelaney, on 10 May 2013 - 5:47 PM, said:

looks like the [autoit] wrapper no longer works?!

Jon upgraded the forum software.

You need to click on the "code" icon and then select AutoIt.

My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2022-02-19 - Version 1.6.1.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts
OutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - Download
Outlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - Wiki
PowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - Wiki
Task Scheduler (NEW 2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki

Standard UDFs:
Excel - Example Scripts - Wiki
Word - Wiki

Tutorials:
ADO - Wiki
WebDriver - Wiki

 

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...