"ing.massimoNOSPAM"
set oShell = CreateObject("WScript.Shell")
oShell.run"notepad"
WScript.Sleep 500
oShell.SendKeys"ciao"
MsgBox"premo il tasto home e trascino giu'"& _
"il ciao con Ctrl+Invio"
WScript.Sleep 500
oShell.SendKeys"{home}"
oShell.SendKeys"^{enter}"
WScript.Sleep 500
oShell.SendKeys"^{enter}"
WScript.Sleep 500
oShell.SendKeys"^{enter}"
MsgBox"seleziono tutto e premo Ctrl+X'"
oShell.SendKeys"%ms"
oShell.SendKeys"^x"
MsgBox"incollo tutto con Ctrl+V'"
oShell.SendKeys"^v"
'Copia incolla su notepad e salva con estensione .vbs
'tutti i file (*.*) poi ci clicchi sopra. (per esempio Send.vbs)
'se ti da' errore disattiva l'antivirus
Questo sotto e' l'help del WSH con numerosi esempi ( sopra il mega)
http://www.microsoft.com/downloads/details.aspx?FamilyId=01592C48-207D-4BE1-8A76-1C4099D7BBB9&displaylang=en
http://download.microsoft.com/download/winscript56/Install/5.6/W982KMeXP/EN-US/scrdoc56en.exe
(tuttosuunarigasenononfungecopiaincollaunpezzopervolta)
Download and install WSH 5.6 from here:
http://msdn.microsoft.com/downloads/list/webdev.asp
--
Fosco