Jump to content
Sign in to follow this  
Witmarquzot

"X \ Y \ W \ H" question

Recommended Posts

Witmarquzot
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

Share this post


Link to post
Share on other sites
jdelaney

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.

Share this post


Link to post
Share on other sites
water

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 2018-06-01 - Version 1.4.9.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (2018-01-27 - Version 1.3.3.1) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2015-04-01 - Version 0.4.0.0) - Download - General Help & Support - Example Scripts
Excel - Example Scripts - Wiki
Word - Wiki
PowerPoint (2015-06-06 - Version 0.0.5.0) - Download - General Help & Support

Tutorials:
ADO - Wiki

 

Share this post


Link to post
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
Sign in to follow this  

×