Jump to content

Recommended Posts

Posted

Hi

My Website and program both have same titles, and i am using WinSetState() to close or set Show/Hide in my program.

Now When program and Website, both are opened, WinSetState also works on FireFox & IE and i want to exclude browsers from it.

Posted

Hi

My Website and program both have same titles, and i am using WinSetState() to close or set Show/Hide in my program.

Now When program and Website, both are opened, WinSetState also works on FireFox & IE and i want to exclude browsers from it.

Have you looked at the Option "WinTitleMatchMode"?

-Aaron

Posted

Yeah, i am using that...

Opt("WinTitleMatchMode", 2)

but there are 3 types of same titles (Folder, Program itself & Firefox) but i want WinSetState() to work on Folders and Program Itself only (Not on FF & IE)

Posted

Yeah, i am using that...

Opt("WinTitleMatchMode", 2)

but there are 3 types of same titles (Folder, Program itself & Firefox) but i want WinSetState() to work on Folders and Program Itself only (Not on FF & IE)

try attaching to browser first, then you can either set a condition to avoid those windows, or even just reset the state on the browser right after (less elegant but less code)

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
×
×
  • Create New...