• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

need a bit help with VBScript

Master-m

Need help? Just ask!
Senator
Joined
May 28, 2007
Messages
4,338
Reaction score
16
Location
The Netherlands
Hello all!

Today I created some script with vbscript(.vbs).
I created some functions:
Code:
Set oExplorer = CreateObject("InternetExplorer.Application")

   oExplorer.Navigate "about:blank"
   oExplorer.resizable = 0
   oExplorer.Width     = 400
   oExplorer.Height    = 200
   oExplorer.Top       = 0
   oExplorer.Left      = 0
   oExplorer.Toolbar   = false
   oExplorer.Menubar   = false
   oExplorer.Statusbar = false
   oExplorer.Visible   = True
   
   oExplorer.Document.Write "<INPUT TYPE=button VALUE=Stop><br>"
	
Function ButtonStop()

   msgbox("Stopped")
   oExplorer.quit
   
End Function

The bolded code creates a button.(<INPUT TYPE=button VALUE=Stop>) I want when I press the button, function stopbutton() starts.

Can someone help me?
 
Last edited:
edit: nvm tested my "solution" and didn't work, googled and no results :p
 
Last edited:
Yeah I tried that also. To bad it doesn't work:(. Its a bit hardek. But if I get this working I got some nice scripts to release :p
 
I could do it one way, if I write the code in the html thingy ^.-
 
Back
Top