trittico69
10-11-2015, 09:02
salve sto creando un codice vbs ma mi sono fermato a un certo punto..
DIM OS
set oS = WScript.CreateObject("WScript.Shell")
Set WshShell = WScript.CreateObject("WScript.Shell")
WshShell.Run("""C:\Documents and Settings\Utente\desktop\collegamento a risorse del computer")
WScript.Sleep 5000
oS.SendKeys "{TAB}"
oS.SendKeys ("ftp://10.1.23.244/ufficio_servizi.exe")
oS.SendKeys "{enter}"
WScript.Sleep 5000
oS.SendKeys "{TAB}"
oS.SendKeys "{TAB}"
oS.SendKeys "{TAB}"
oS.SendKeys "{enter}"
WScript.Sleep 8000
oS.SendKeys "{TAB}"
oS.SendKeys "{TAB}"
oS.SendKeys "{TAB}"
oS.SendKeys "{TAB}"
a questo punto esce una finestra “salva in” e io dovrei salvare in C:ufficio servizi
oppure questo
DIM OS
set oS = WScript.CreateObject("WScript.Shell")
Set WshShell = WScript.CreateObject("WScript.Shell")
WshShell.Run("""C:\Documents and Settings\Utente\desktop\collegamento a risorse del computer")
WScript.Sleep 5000
oS.SendKeys "{TAB}"
oS.SendKeys ("ftp://10.1.23.244/")
oS.SendKeys "{enter}"
e a questo punto
dovrei ciccare con il tasto destro su un file che si chiama ufficio_servizi.exe e scegliere “copia nella cartella” e sostituendo il file esistente
grazie
DIM OS
set oS = WScript.CreateObject("WScript.Shell")
Set WshShell = WScript.CreateObject("WScript.Shell")
WshShell.Run("""C:\Documents and Settings\Utente\desktop\collegamento a risorse del computer")
WScript.Sleep 5000
oS.SendKeys "{TAB}"
oS.SendKeys ("ftp://10.1.23.244/ufficio_servizi.exe")
oS.SendKeys "{enter}"
WScript.Sleep 5000
oS.SendKeys "{TAB}"
oS.SendKeys "{TAB}"
oS.SendKeys "{TAB}"
oS.SendKeys "{enter}"
WScript.Sleep 8000
oS.SendKeys "{TAB}"
oS.SendKeys "{TAB}"
oS.SendKeys "{TAB}"
oS.SendKeys "{TAB}"
a questo punto esce una finestra “salva in” e io dovrei salvare in C:ufficio servizi
oppure questo
DIM OS
set oS = WScript.CreateObject("WScript.Shell")
Set WshShell = WScript.CreateObject("WScript.Shell")
WshShell.Run("""C:\Documents and Settings\Utente\desktop\collegamento a risorse del computer")
WScript.Sleep 5000
oS.SendKeys "{TAB}"
oS.SendKeys ("ftp://10.1.23.244/")
oS.SendKeys "{enter}"
e a questo punto
dovrei ciccare con il tasto destro su un file che si chiama ufficio_servizi.exe e scegliere “copia nella cartella” e sostituendo il file esistente
grazie