UtterAccess.com
X   Site Message
(Message will auto close in 2 seconds)

Welcome to UtterAccess! Please ( Login   or   Register )

Custom Search
> Close All Web Sites    
 
   
bakersburg9
post May 18 2017, 09:34 PM
Post#1



Posts: 5,573
Joined: 2-November 04
From: Downey, CA


The following vbscript opens Facebook, Google and Yahoo:

CODE
set sh1=createObject("Wscript.shell")
sh1.run "https://mg.mail.yahoo.com/neo/launch?.rand=71v8fbgb56rdm#9160695791/"

set sh2=createObject("Wscript.shell")
sh2.run "https://www.facebook.com"

set sh3=createObject("Wscript.shell")
sh3.run "https://www.google.com/"


I want to know how to CLOSE them ?

I have another batch file to open multiple windows explorer sessions, and this is the script to close all sessions:

CODE
cmd /c "taskkill /f /im explorer.exe && start explorer"


what would be the corresponding code to close my open facebook, google and yahoo sessions ?
Go to the top of the page
 

Posts in this topic



Custom Search


RSSSearch   Top   Lo-Fi    4th April 2020 - 12:29 AM