#85785 - 2002-05-27 11:48 PM
InternetExplorer.Application Document.Write Problem
|
MyITGuy
Fresh Scripter
Registered: 2001-01-30
Posts: 11
|
|
Top
|
|
|
|
#85786 - 2002-05-27 11:58 PM
Re: InternetExplorer.Application Document.Write Problem
|
Radimus
Moderator
Registered: 2000-01-06
Posts: 5187
Loc: Tampa, FL
|
try writing it before making it visible...
|
Top
|
|
|
|
#85787 - 2002-05-28 02:40 AM
Re: InternetExplorer.Application Document.Write Problem
|
Shawn
Administrator
Registered: 1999-08-13
Posts: 8611
|
And to add to Rad's comments, make sure you sync-up with the document object by adding a while loop before your writes, plus add brackets around your writes:
code:
while $objMSIE.busy and @error = 0 loop $objMSIE.Document.Write("<HTML><TITLE>Something</TITLE><BODY bgcolor=#FFFFFF>") $objMSIE.Document.Write("<B>Running: Allow Script Before Logon Script...</B><BR><BR>") $objMSIE.Document.Write("<B>Exiting.</B><BR><BR>")
Hope this helps
-Shawn [ 28 May 2002, 02:41: Message edited by: Shawn ]
|
Top
|
|
|
|
#85788 - 2002-05-28 05:49 AM
Re: InternetExplorer.Application Document.Write Problem
|
MyITGuy
Fresh Scripter
Registered: 2001-01-30
Posts: 11
|
Radimus, how would I dynamically update the content?
I want the user to see a statement showing where they are in the login process.(after every section of script it tells them 2 of 4 done or something liket that)
_________________________
Automating your life to make my life easier.
|
Top
|
|
|
|
#85789 - 2002-05-28 05:52 AM
Re: InternetExplorer.Application Document.Write Problem
|
MyITGuy
Fresh Scripter
Registered: 2001-01-30
Posts: 11
|
Damn, damn, damn. And, thank you, thank you, thank you...it was the brackets. As soon as I saw that...UHHHHH!!!!
Thank all that assisted.
Take care.
_________________________
Automating your life to make my life easier.
|
Top
|
|
|
|
Moderator: Shawn, ShaneEP, Ruud van Velsen, Arend_, Jochen, Radimus, Glenn Barnas, Allen, Mart
|
1 registered
(Allen)
and 466 anonymous users online.
|
|
|