Jump to content

WinSetState() With Class Name?


Recommended Posts

Hi All!

Been having a fair amount of trouble recognizing windows of a specific class name; and then maximizing them.

This doesn't work:

While 1

WinSetState(Class_Name, "", @SW_MAXIMIZE)

WEnd

How can this be done in v.3?

Thanks!

[center][font="Courier"][quote]Which end do you put the cheesecake in?[/quote][/font][/center]

Link to post
Share on other sites

Hi All!

Been having a fair amount of trouble recognizing windows of a specific class name; and then maximizing them.

This doesn't work:

While 1

WinSetState(Class_Name, "", @SW_MAXIMIZE)

WEnd

How can this be done in v.3?

Thanks!

<{POST_SNAPBACK}>

make sure you set:

Opt("WinTitleMatchMode", 4) 
WinSetState("classname=Class_Name", "", @SW_MAXIMIZE)
Edited by cameronsdad
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
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...