Jump to content
Sign in to follow this  
Adrive

exclude firefox from these functions

Recommended Posts

Adrive

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.

Share this post


Link to post
Share on other sites
FlyinRiz

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

Share this post


Link to post
Share on other sites
Adrive

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)

Share this post


Link to post
Share on other sites
seandisanti

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)

Share this post


Link to post
Share on other sites
Adrive

how to attach and set condition?

i could not get it

Share this post


Link to post
Share on other sites
Adrive

????

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  

×