# One time install a module using andministrator powershell
`Install-Module -Name BurntToast`
notice: will ask stupid questions.
## Copy Files:
- play-done.bat
- TaskDone.png
- done.mp3
to the `./clause` directory of the project. in the directory where the `CLAUDE.md` is
add to `CLAUDE.md`
`When you complete a task, run: ./claude/play-done.bat`
the play-done.bat file
@Echo on
powershell -WindowStyle Hidden -c "Add-Type -AssemblyName PresentationCore; $p = New-Object System.Windows.Media.MediaPlayer; $p.Volume = 1.0; $p.Open([Uri]'%~dp0done.mp3'); $p.Play(); Start-Sleep 5; $p.Close()"
powershell -WindowStyle Hidden -Command "New-BurntToastNotification -Text 'Claude Code', 'Task Is Done!' -Sound "ALARM" -AppLogo '%~dp0TaskDone.png'"
powershell -Command "Add-Type -AssemblyName PresentationFramework; [System.Windows.MessageBox]::Show('Task completed successfully!`n`nYour code is ready.', 'Claude Code - Done', 'OK', 'Information')"
the sound done.mp3
download from here https://pixabay.com/sound-effects/piglevelwin2mp3-14800/
No comments:
Post a Comment