Adrive Posted August 13, 2010 Share Posted August 13, 2010 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 More sharing options...
FlyinRiz Posted August 13, 2010 Share Posted August 13, 2010 HiMy 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 More sharing options...
Adrive Posted August 13, 2010 Author Share Posted August 13, 2010 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 More sharing options...
seandisanti Posted August 14, 2010 Share Posted August 14, 2010 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 More sharing options...
Adrive Posted August 14, 2010 Author Share Posted August 14, 2010 how to attach and set condition? i could not get it Link to comment Share on other sites More sharing options...
Adrive Posted August 15, 2010 Author Share Posted August 15, 2010 ???? Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now