Créer un bouton marche/arrêt
Fermé
Pass07
Messages postés
11
Date d'inscription
mercredi 15 août 2018
Statut
Membre
Dernière intervention
27 août 2018
-
20 août 2018 à 23:10
pistouri Messages postés 18784 Date d'inscription dimanche 14 juin 2015 Statut Contributeur Dernière intervention 27 février 2025 - 23 août 2018 à 19:06
pistouri Messages postés 18784 Date d'inscription dimanche 14 juin 2015 Statut Contributeur Dernière intervention 27 février 2025 - 23 août 2018 à 19:06
5 réponses
pistouri
Messages postés
18784
Date d'inscription
dimanche 14 juin 2015
Statut
Contributeur
Dernière intervention
27 février 2025
Ambassadeur
8 454
Modifié le 21 août 2018 à 12:07
Modifié le 21 août 2018 à 12:07
Bonjour,
Si tu veux on peux intégrer les boutons Arrêter, Redémarrer, Veille, Verrouiller dans le clic droit
Pratique pour faire l 'action de ton choix
il faut créer un fichier reg
Ouvre le bloc note
Fais un copier/coller de ces lignes:
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOTDesktopBackgroundShellVerrouiller]
« icon »= »shell32.dll,-325 »
« Position »= »Bottom »
[HKEY_CLASSES_ROOTDesktopBackgroundShellVeille]
« icon »= »shell32.dll,-331 »
« Position »= »Bottom »
[HKEY_CLASSES_ROOTDesktopBackgroundShellRedémarrer]
« icon »= »shell32.dll,-221 »
« Position »= »Bottom »
[HKEY_CLASSES_ROOTDesktopBackgroundShellArrêter]
« icon »= »shell32.dll,-329 »
« Position »= »Bottom »
[HKEY_CLASSES_ROOTDesktopBackgroundShellVerrouillercommand] @= »Rundll32 User32.dll,LockWorkStation »
[HKEY_CLASSES_ROOTDesktopBackgroundShellVeillecommand]
@= »rundll32.exe powrprof.dll,SetSuspendState 0,1,0?
[HKEY_CLASSES_ROOTDesktopBackgroundShellRedémarrercommand]
@= »shutdown.exe -r -t 00 -f »
[HKEY_CLASSES_ROOTDesktopBackgroundShellArrêtercommand]
@= »shutdown.exe -s -t 00 -f »
Dans le bloc note va sur Fichier puis sur la ligne → Enregistrer sous
Sélectionne → Bureau
Face à Nom du Fichier écris ou fais un copier/coller
Arrêter Redémarrer Veille Verrouiller.reg
Pour terminer clique sur → Enregistrer

Sur le Bureau clic droit sur le Fichier reg
Puis sur → Fusionner

Accepte→ suivant → OK
Redémarre le PC
Vérifies en faisant un clique droit sur le Bureau

La source
A+
Si tu veux on peux intégrer les boutons Arrêter, Redémarrer, Veille, Verrouiller dans le clic droit
Pratique pour faire l 'action de ton choix
il faut créer un fichier reg
Ouvre le bloc note
Fais un copier/coller de ces lignes:
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOTDesktopBackgroundShellVerrouiller]
« icon »= »shell32.dll,-325 »
« Position »= »Bottom »
[HKEY_CLASSES_ROOTDesktopBackgroundShellVeille]
« icon »= »shell32.dll,-331 »
« Position »= »Bottom »
[HKEY_CLASSES_ROOTDesktopBackgroundShellRedémarrer]
« icon »= »shell32.dll,-221 »
« Position »= »Bottom »
[HKEY_CLASSES_ROOTDesktopBackgroundShellArrêter]
« icon »= »shell32.dll,-329 »
« Position »= »Bottom »
[HKEY_CLASSES_ROOTDesktopBackgroundShellVerrouillercommand] @= »Rundll32 User32.dll,LockWorkStation »
[HKEY_CLASSES_ROOTDesktopBackgroundShellVeillecommand]
@= »rundll32.exe powrprof.dll,SetSuspendState 0,1,0?
[HKEY_CLASSES_ROOTDesktopBackgroundShellRedémarrercommand]
@= »shutdown.exe -r -t 00 -f »
[HKEY_CLASSES_ROOTDesktopBackgroundShellArrêtercommand]
@= »shutdown.exe -s -t 00 -f »
Dans le bloc note va sur Fichier puis sur la ligne → Enregistrer sous
Sélectionne → Bureau
Face à Nom du Fichier écris ou fais un copier/coller
Arrêter Redémarrer Veille Verrouiller.reg
Pour terminer clique sur → Enregistrer

Sur le Bureau clic droit sur le Fichier reg
Puis sur → Fusionner

Accepte→ suivant → OK
Redémarre le PC
Vérifies en faisant un clique droit sur le Bureau

La source
A+