Jump to content

Force Disable Windows Popup


Recommended Posts

Hi All!
I am trying to minimize popup box using Winsetstate

This doesn't work: Run(C:\ps.exe")
Local $hWnd = WinWait("[CLASS:#44770]", "", 20)
Winwait("PS- Camera ::")
WinSetState($hWnd, "", @SW_MINIMIZE)

>>>> Window <<<<
Title:    
Class:    #44770
Position:    614, 317
Size:    144, 144
Style:    0x94C801C5
ExStyle:    0x00010101
Handle:    0x00000000003F0BA0

>>>> Control <<<<
Class:    Button
Instance:    4
ClassnameNN:    Button4
Name:    
Advanced (Class):    [CLASS:Button; INSTANCE:4]
ID:    2
Text:    ENTER
Position:    42, 79
Size:    88, 26
ControlClick Coords:    49, 11
Style:    0x50030000
ExStyle:    0x00000004
Handle:    0x0000000000090B6C

>>>> Mouse <<<<
Position:    708, 432
Cursor ID:    0
Color:    0xC9EBEB

>>>> StatusBar <<<<

>>>> ToolsBar <<<<

>>>> Visible Text <<<<
ENTER
 172


>>>> Hidden Text <<<<

 

Link to comment
Share on other sites

Can i Force Disable my windows popup box using autoit ?

My Windows info

>>>> Window <<<<
Title:    
Class:    #44770
Position:    614, 317
Size:    144, 144
Style:    0x94C801C5
ExStyle:    0x00010101
Handle:    0x00000000003F0BA0

>>>> Control <<<<
Class:    Button
Instance:    4
ClassnameNN:    Button4
Name:    
Advanced (Class):    [CLASS:Button; INSTANCE:4]
ID:    2
Text:    ENTER
Position:    42, 79
Size:    88, 26
ControlClick Coords:    49, 11
Style:    0x50030000
ExStyle:    0x00000004
Handle:    0x0000000000090B6C

>>>> Mouse <<<<
Position:    708, 432
Cursor ID:    0
Color:    0xC9EBEB

>>>> StatusBar <<<<

>>>> ToolsBar <<<<

>>>> Visible Text <<<<
ENTER
 172

 

Link to comment
Share on other sites

  • Developers

@Nareshm, I have now merged several duplicate threads from you today. STOP that or be removed from these forums as it is very annoying!
Stick to one Thread and be patient.

Jos 

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

1 minute ago, Jos said:

@Nareshm, I have now merged several duplicate threads from you today. STOP that or be removed from these forums as it is very annoying!
Stick to one Thread and be patient.

Jos 

@Jos
How to remove duplicate asked questions ?

Link to comment
Share on other sites

I am trying to use win activate to bring a window to the front using classes (No tittle) but it does not work. It is a window that is part of another program.

The class name is "#33880" And I think it has something to do with the # sign again.

WinActivate("[CLASS:#33880]","")

Here is some info from AutoIt v3 window info.

>>>> Window <<<<
Title:    
Class:    #33880
Position:    614, 317
Size:    144, 144
Style:    0x94C801C5
ExStyle:    0x00010101
Handle:    0x00000000003304A2

>>>> Control <<<<
Class:    Enter
Instance:    3
ClassnameNN:    Button1
Name:    
Advanced (Class):    [CLASS:Enter; INSTANCE:3]
ID:    4
Text:    Enter

Link to comment
Share on other sites

  • Moderators

@Nareshm Again this is now three make that four threads on the same subject that have been merged. Stick to one topic, not sure how to say it any simpler.

Edited by JLogan3o13

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

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...