Windows 10 – Toast notification
AutoHotKey
Naslov = "Naslov ....-....1....-....2....-....3....-....4....-....5....-....6....-....7....-....8....-....9....-....0" Sadrzaj = "Sadržaj ....-....1....-....2....-....3....-....4....-....5....-....6....-....7....-....8....-....9....-....0....-....1....-....2....-....3....-....4....-....5....-....6....-....7....-....8....-....9....-....0", 1 TrayTip, %Naslov% , %Sadrzaj% , 1 Sleep, 300000
hxxps://www.autohotkey.com/boards/viewtopic.php?t=7775
Powershell
$Miliseconds=300000 $Title="....-....1....-....2....-....3....-....4....-....5....-....6....-....7....-....8....-....9....-....0" $Text ="....-....1....-....2....-....3....-....4....-....5....-....6....-....7....-....8....-....9....-....0....-....1....-....2....-....3....-....4....-....5....-....6....-....7....-....8....-....9....-....0" Add-Type -AssemblyName System.Windows.Forms $global:balloon = New-Object System.Windows.Forms.NotifyIcon $path = (Get-Process -id $pid).Path $balloon.Icon = [System.Drawing.Icon]::ExtractAssociatedIcon($path) $balloon.BalloonTipIcon = [System.Windows.Forms.ToolTipIcon]::Info $balloon.BalloonTipText = "$Text" $balloon.BalloonTipTitle = "$Title" $balloon.Visible = $true $balloon.ShowBalloonTip($Miliseconds)
hxxps://stackoverflow.com/questions/61971517/powershell-send-a-toast-notification-to-logged-user-when-running-as-local-syste
Također pogledaj i “All settings” -> “Focus assist” i “Notifications & actions” jer nisu uvijek i sve notifikacije dopuštene, a zahvaljujući sposobnosti programera poduzeća koje vrijedi kao 1,5 bilijun dolara, ni one notifikacije koje jesu dopuštene i imaju prioritet neće biti uvijek prikazane, a mi se možemo jebat.
V. i https://github.com/Windos/BurntToast
ahk xahk pwsh xpwsh toast xtoast notification xnotification xobavijest obavijest alert xalert