Question Cmt créer 1 Notification dans la barre de tâche ?

Plus d'informations
il y a 15 ans 9 mois #2525 par Laurent Dardenne
Ce code, proposé sur un autre forum, affiche un message dans la zone de notification de la barre de tâche :
[code:1]
#Auteur Metatron.
$Message=\"Message d'alerte.\"
[void][reflection.assembly]::loadwithpartialname(\"System.Windows.Forms\"«»)
[void][reflection.assembly]::loadwithpartialname(\"System.Drawing\"«»)
$NotifyIcon = New-Object system.windows.forms.notifyicon
$NotifyIcon.Icon = new-object system.drawing.icon(join-path $pwd \"MonIcone.ico\"«»)
$NotifyIcon.Visible = $true
$NotifyIcon.ShowBalloonTip(10,\"Bulle\",$Message,[system.windows.forms.tooltipicon]::warning)
[/code:1]
Utile pour être informé de la fin d'un traitement relativement long.

Tutoriels PowerShell

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 15 ans 9 mois #2624 par maycry
GG ca peut être cool :P

Connexion ou Créer un compte pour participer à la conversation.

Temps de génération de la page : 0.064 secondes
Propulsé par Kunena