Lancement d'un VBS chaque 10 min
Résolu/Fermé
hakoko
Messages postés
187
Date d'inscription
lundi 11 mars 2013
Statut
Membre
Dernière intervention
21 mars 2024
-
Modifié par hakoko le 24/05/2013 à 12:07
hakoko Messages postés 187 Date d'inscription lundi 11 mars 2013 Statut Membre Dernière intervention 21 mars 2024 - 25 mai 2013 à 01:16
hakoko Messages postés 187 Date d'inscription lundi 11 mars 2013 Statut Membre Dernière intervention 21 mars 2024 - 25 mai 2013 à 01:16
A voir également:
- Lancement d'un VBS chaque 10 min
- Clé windows 10 gratuit - Guide
- Windows 10 gratuit - Guide
- Mon pc s'allume mais ne démarre pas windows 10 - Guide
- Windows 10 iso - Guide
- Licence windows 10 - Guide
1 réponse
hakoko
Messages postés
187
Date d'inscription
lundi 11 mars 2013
Statut
Membre
Dernière intervention
21 mars 2024
3
25 mai 2013 à 01:16
25 mai 2013 à 01:16
Bonjour, j'ai réussi à le faire:
Set WshShell = WScript.CreateObject("WScript.Shell")
for i= 1 to 2
WshShell.AppActivate "Microsoft Excel"
WScript.Sleep 2000
WshShell.SendKeys "^s"
WScript.Sleep 2000
WshShell.SendKeys "~"
WScript.Sleep 2000
WshShell.SendKeys "download2.CSV"
WScript.Sleep 2000
WshShell.SendKeys "~"
WScript.Sleep 2000
WshShell.SendKeys "% F4"
i=i-1
WScript.Sleep 60000
next
Set WshShell = WScript.CreateObject("WScript.Shell")
for i= 1 to 2
WshShell.AppActivate "Microsoft Excel"
WScript.Sleep 2000
WshShell.SendKeys "^s"
WScript.Sleep 2000
WshShell.SendKeys "~"
WScript.Sleep 2000
WshShell.SendKeys "download2.CSV"
WScript.Sleep 2000
WshShell.SendKeys "~"
WScript.Sleep 2000
WshShell.SendKeys "% F4"
i=i-1
WScript.Sleep 60000
next