Merci,
Je sais déjà comment utiliser ce raccourci
C:\windows\system32\ rundll32.exe user32.dll, LockWorkStation
Ce que je veux, cest Envoyerla touche [WINDOWS] + la touche [L] au système
Set Interface=CreateObject("Wscript.Shell")
Interface.sendkeys. La touche [WINDOWS] + la touche [L]
quelle est la bonne syntaxe?
Comme par exemple :
Set Interface=CreateObject("Wscript.Shell")
'J'envoie la touche NUMLOCK au système
Interface.sendkeys "{NUMLOCK}"
JonnyT