VBS interact with html or JS?

A

Angel333

Guest
I've got this Code to check if Recycle bin is Full...
How can I react between vbs and html?
It would be good if I can give the result to javascript...
Or just print out anything in html (i.e.: "Full Trash")

Code:
set shell = CreateObject("Shell.Application")
set fs = CreateObject("Scripting.FileSystemObject")
set WSHShell = CreateObject("WScript.Shell")

set folderobject = shell.NameSpace(10)
inhalt = folderobject.Items.Count

if inhalt = 0 then
MSGBOX( "Empty")
else
MSGBOX("Full")
end if

wscript.quit

I don't want the message Boxes...
Any Ideas?
 
Just replace the MSGBOX row with the print function in VBS. Whatever it's called. :)
 
I tried that...
Didn't found a command...

So do you know how to do?
 
A very quick search on Google revealed:

PHP:
document.write("Whatever you want to print.")
 

Members online

No members online now.

Latest profile posts

Also Hi EP and people. I found this place again while looking through a oooollllllldddd backup. I have filled over 10TB and was looking at my collection of antiques. Any bids on the 500Mhz Win 95 fix?
Any of the SP crew still out there?
Xie wrote on Electronic Punk's profile.
Impressed you have kept this alive this long EP! So many sites have come and gone. :(

Just did some crude math and I apparently joined almost 18yrs ago, how is that possible???
hello peeps... is been some time since i last came here.
Electronic Punk wrote on Sazar's profile.
Rest in peace my friend, been trying to find you and finally did in the worst way imaginable.

Forum statistics

Threads
62,015
Messages
673,494
Members
5,621
Latest member
naeemsafi
Back