Click here to Skip to main content
15,867,453 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
In the program Ditto which is a clipboard manager, there's an option to run ChaiScript when the user changes the clipboard of Windows, so I want to run a short sound so I know the Ctrl+C or with the mouse worked correctly and I copied what is needed to be copied, a WAV file is ok too. I want only the sound to be played, not open a player program for it.

How to do that please?

What I have tried:

I want something like

#include <chaiscript/chaiscript.hpp>
chai.PlaySound("G:\OneDrive\Audio\onCopy.wav");


Scripting · sabrogden/Ditto Wiki · GitHub[^]
Posted
Comments
Richard MacCutchan 25-Feb-23 7:29am    
You need to study the documentation in that GitHub page, and for the chaiscript library.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900