Photo Gallery
Member List
Search
Calendars
FAQ
Ticket List
Log Out
Forums
Register
Login
My Profile
Inbox
Address Book
My Subscription
My Forums
scrolling text in IE window
Logged in as: Guest
arrSession:exec spGetSession 2,2,62158
Active Users: There are
0
members and
0
guests.
Users viewing this topic: none
Printable Version
All Forums
>>
[Scripting]
>>
WSH & Client Side VBScript
>> scrolling text in IE window
Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Page:
[1]
Login
Message
<< Older Topic
Newer Topic >>
scrolling text in IE window -
7/3/2008 9:54:47 PM
ilyae
Posts: 3
Score: 0
Joined: 6/26/2008
Status:
offline
Hello,
Please teach me how to modify script below , to display last lines in IE window (like unix tail comand) ?
'*********************************************
Set objExplorer = WScript.CreateObject("InternetExplorer.Application")
objExplorer.Navigate "about:blank"
objExplorer.ToolBar = 0
objExplorer.StatusBar = 0
objExplorer.Width=200
objExplorer.Height = 200
objExplorer.Left = 300
objExplorer.Top = 100
objExplorer.Visible = 1
objExplorer.TheaterMode = 0
objExplorer.document.body.bgColor="ivory"
For K = 1 To 10
objExplorer.Document.Body.InnerHTML = objExplorer.Document.Body.InnerHTML +_
"<font face=Arial size=+0 color=navy> "&K&" ...<BR></font>"
Next
Wscript.Sleep 5000
objExplorer.Quit
'***********************************************
Post #: 1
RE: scrolling text in IE window -
7/4/2008 5:09:54 AM
dm_4ever
Posts: 2548
Score: 40
Joined: 6/29/2006
From: Orange County, California
Status:
offline
Do you just want it to scroll?
_____________________________
dm_4ever
My philosophy:
K.I.S.S - Keep It Simple Stupid
Read Me:
http://www.visualbasicscript.com/m_24727/tm.htm
Frequently Asked Stuff:
http://www.visualbasicscript.com/m_47117/tm.htm
(in reply to
ilyae
)
Post #: 2
RE: scrolling text in IE window -
7/6/2008 6:48:13 PM
ilyae
Posts: 3
Score: 0
Joined: 6/26/2008
Status:
offline
Yes , I want it to scroll automatically, for i can always see last line in the window.
(in reply to
dm_4ever
)
Post #: 3
RE: scrolling text in IE window -
7/7/2008 12:12:41 AM
dm_4ever
Posts: 2548
Score: 40
Joined: 6/29/2006
From: Orange County, California
Status:
offline
Something like this has worked for me in the past
Set objExplorer = WScript.CreateObject("InternetExplorer.Application") objExplorer.Navigate "about:blank" objExplorer.ToolBar = 0 objExplorer.StatusBar = 0 objExplorer.Width=200 objExplorer.Height = 200 objExplorer.Left = 300 objExplorer.Top = 100 objExplorer.Visible = 1 objExplorer.TheaterMode = 0 Set objIEDoc = objExplorer.Document.Body objIEDoc.bgColor="ivory" For K = 1 To 20 objIEDoc.InnerHTML = objIEDoc.InnerHTML +_ "<font face=Arial size=+0 color=navy> "&K&" ...<BR></font>" objIEDoc.scrollTop = objIEDoc.scrollHeight + objIEDoc.scrollTop WScript.Sleep 500 Next Wscript.Sleep 5000 objExplorer.Quit
_____________________________
dm_4ever
My philosophy:
K.I.S.S - Keep It Simple Stupid
Read Me:
http://www.visualbasicscript.com/m_24727/tm.htm
Frequently Asked Stuff:
http://www.visualbasicscript.com/m_47117/tm.htm
(in reply to
ilyae
)
Post #: 4
RE: scrolling text in IE window -
7/7/2008 12:46:30 AM
ilyae
Posts: 3
Score: 0
Joined: 6/26/2008
Status:
offline
Thank you very much. it's work exactly as i want.
(in reply to
dm_4ever
)
Post #: 5
If you found our site useful please link to us
<a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>
.
All Forums
>>
[Scripting]
>>
WSH & Client Side VBScript
>> scrolling text in IE window
Page:
[1]
Jump to:
Select a Forum
All Forums
----------------------
[Welcome]
- - Forum Rules
- - Test Posting Messages
- - New Member Area/Introduction
[Scripting]
- - WSH & Client Side VBScript
- - WSH & Client Side VBScript Tutorial
- - Post a VBScript
- - Windows PowerShell
- - ASP
- - ASP.NET
- - Windows Script Components
[General Forum]
- - Other Programming/Scripting Languages
- - Suggestions & Feedback
- - Off-Topic Lounge
New Messages
No New Messages
Hot Topic w/ New Messages
Hot Topic w/o New Messages
Locked w/ New Messages
Locked w/o New Messages
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
Forum Software ©
ASPPlayground.NET
Advanced Edition
2.5.5 ANSI