I want create a software just like an alarm clock.
It will paly an audio file repeatedly till did not press esc key.
What command should I give as conditions and whoch module should I use?

I did just that in this project. If you have any questions please post them in that thread. The code is posted there.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.