Jump to content
Sign in to follow this  
Marcus

WinSetState() With Class Name?

Recommended Posts

Marcus

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]

Share this post


Link to post
Share on other sites
seandisanti

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

Share this post


Link to post
Share on other sites
Marcus

:">

I feel silly.

Thanks for the help!


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

Share this post


Link to post
Share on other sites
seandisanti

:">

I feel silly.

Thanks for the help!

<{POST_SNAPBACK}>

don't worry about it man, happens to everyone. and glad i could 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  

×