Dhana
13 years agoContributor
IE Full Screen function
Hi, I need to check whether my appication which get opened with IE is in Full Screen mode or is in Maximize state.
For this, I used Object Spy to check the properties that are getting differ while the IE window in Full Screen mode as well as in Maximize state, since there is no direct function for checking the IE whether is in Full Screen mode or not.
Now, I found that Focused is a property where it get differs in both, when the Focused property is set to False, IE is in maximise state and when it is True is in Full Screen mode. So, I got an idea to get a boolean value by setting a Focused property with my object from my script, this is what my requirment.
My Queries:
1) Is there any data type should I use to get an boolean value?
e,g: Var variablename = TestObj.Focused; ( will this work in my case)
2) if..then is not working in this case..Why?
Please get me an solution for it.
For this, I used Object Spy to check the properties that are getting differ while the IE window in Full Screen mode as well as in Maximize state, since there is no direct function for checking the IE whether is in Full Screen mode or not.
Now, I found that Focused is a property where it get differs in both, when the Focused property is set to False, IE is in maximise state and when it is True is in Full Screen mode. So, I got an idea to get a boolean value by setting a Focused property with my object from my script, this is what my requirment.
My Queries:
1) Is there any data type should I use to get an boolean value?
e,g: Var variablename = TestObj.Focused; ( will this work in my case)
2) if..then is not working in this case..Why?
Please get me an solution for it.