Jump to content
Sign in to follow this  
rikimaru110011

Why window info Class alway change

Recommended Posts

rikimaru110011

I want get handle of windown printer of VB, but class windown alway change when I open again, ex1: CLASS:Afx:40000000:b:10011:6:452c08cd, ex2: CLASS: Afx:40000000:xxxxxxxxxxx. How i can get handle it. Best regards

Share this post


Link to post
Share on other sites
rikimaru110011

It no have Title

>>>> Window <<<<
Title: 
Class: Afx:40000000:b:10011:6:452c08cd  <=== it alway change when i close and open again
Position: 100, 100
Size: 843, 405
Style: 0x16CF0000
ExStyle: 0x00000100
Handle: 0x00070A78

Share this post


Link to post
Share on other sites
AdamUL

Look at Advanced Window Descriptions under Window Titles and Text (Advanced) in the Help File for the REGEXPCLASS as JohnOne mentioned.  

 

Adam

  • Like 1

Share this post


Link to post
Share on other sites
FireFox

Of course it can, do you see TITLE in all the examples?

  • Like 1

 

OS : Win XP SP2 (32 bits) / Win 7 SP1 (64 bits) / Win 8 (64 bits) | Autoit version: latest stable / beta.
Hardware : Intel(R) Core(TM) i5-2400 CPU @ 3.10Ghz / 8 GiB RAM DDR3.

My UDFs : Skype UDF | TrayIconEx UDF | GUI Panel UDF | Excel XML UDF | Is_Pressed_UDF

My Projects : YouTube Multi-downloader | FTP Easy-UP | Lock'n | WinKill | AVICapture | Skype TM | Tap Maker | ShellNew | Scriptner | Const Replacer | FT_Pocket | Chrome theme maker

My Examples : Capture toolIP Camera | Crosshair | Draw Captured Region | Picture Screensaver | Jscreenfix | Drivetemp | Picture viewer

My Snippets : Basic TCP | Systray_GetIconIndex | Intercept End task | Winpcap various | Advanced HotKeySet | Transparent Edit control

 

Share this post


Link to post
Share on other sites
rikimaru110011

But i can't see REGEXPCLASS  in all examples?

e.g1: Class Afx:40000000:b:10011:6:452c08cd

e.g2:  Class: Afx:40000000:b:10011:6:26183d
=> ControlGetHandle("[REGEXPCLASS:Afx40000000b100116]")

Share this post


Link to post
Share on other sites
rikimaru110011

Hi, I get it , thanks for help

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  

×