Salut à tous :)
Pourquoi ce script ne marche pas ? sauf si j'ouvre notepad au préalable ?
Code:
1
2
3
4
5
6
7
8 set wshShell = CreateObject("Wscript.Shell") wshShell.Run "notepad" wshShell.AppActivate "Sans titre - Bloc-notes" wshShell.SendKeys "Salut !"
Merci d'avance..