Jump to content

exclude firefox from these functions


 Share

Recommended Posts

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.

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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)

Link to comment
Share on other sites

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