Re: How to make Internet Explorer window top most?
From: Torgeir Bakken \(MVP\) (Torgeir.Bakken-spam_at_hydro.com)
Date: 01/26/05
- Next message: Torgeir Bakken \(MVP\): "Re: logon script"
- Previous message: Eugene Zelikovsky: "How to make Internet Explorer window top most?"
- In reply to: Eugene Zelikovsky: "How to make Internet Explorer window top most?"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 26 Jan 2005 10:30:05 +0100
Eugene Zelikovsky wrote:
> I have vb-script , which started applicatoin as "Internet Explorer" with
> parameters.
> How to place Internet Explorer on top(modal window).
You could set a title, and use AppActivate on it, an example here:
http://groups.google.co.uk/groups?selm=3EA302E5.5BAE90EB%40hydro.com
> Do
> Loop While MSIE.Busy
You should add an "WScript.Sleep 100 in this loop to avoid CPU hogging.
Also, ReadyState is reported to be far more reliable the Busy, so I
suggest you use this waiting loop instead:
Do Until MSIE.readyState = 4: wscript.sleep 100: Loop
In case people has used the search bar in IE in their previous logon
session, you should turn it off before opening IE, setting the
ShowBrowserBar property before you call the SetupMSIE sub, like the
code in this post:
http://groups.google.co.uk/groups?selm=40326016.D28ABB5B%40hydro.com
-- torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway Administration scripting examples and an ONLINE version of the 1328 page Scripting Guide: http://www.microsoft.com/technet/scriptcenter/default.mspx
- Next message: Torgeir Bakken \(MVP\): "Re: logon script"
- Previous message: Eugene Zelikovsky: "How to make Internet Explorer window top most?"
- In reply to: Eugene Zelikovsky: "How to make Internet Explorer window top most?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|