google-code-export / rainmeter

Automatically exported from code.google.com/p/rainmeter
1 stars 0 forks source link

Only last file will be played when I use !execute [PLAY FILE1] [PLAY FILE2] [PLAY FILE2] #188

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
>>What steps will reproduce the problem?
1.In the ini file of the skin, I use a bang command as follow:
[Clock_Img]
Meter=IMAGE
LeftMouseUpAction=!execute [PLAY FILE1.wav] [PLAY FILE2.wav] [PLAY FILE3.wav]
2.After I click the meter, it only plays the last file and neglect the two in 
front. 

>>What is the expected output? What do you see instead?
I want it can play the three files one by one, but I only hear the sound of the 
last file.

>>What version of the product are you using? On what operating system?
I can confirm this problem comes from version 1.2 till now. 
It runs well in version 1.1.
My OS is Windows 7 x64.

Original issue reported on code.google.com by jhp...@gmail.com on 7 Jul 2011 at 1:32

GoogleCodeExporter commented 9 years ago
Maybe its the spaces between the bangs. Try without the spaces:
LeftMouseUpAction=!execute [PLAY FILE1.wav][PLAY FILE2.wav][PLAY FILE3.wav]

Original comment by XTREME...@gmail.com on 10 Jul 2011 at 2:50

GoogleCodeExporter commented 9 years ago
XTREME: It's not the spaces, but a Rainmeter limitation. Please test before 
suggesting.

Original comment by birunthan.mohanathas on 10 Jul 2011 at 8:31

GoogleCodeExporter commented 9 years ago
I'm just tryin to help. I've tested it, and it does seem to be a Rainmeter 
limitation

Original comment by XTREME...@gmail.com on 11 Jul 2011 at 1:56

GoogleCodeExporter commented 9 years ago
Sorry. I still don't know how to do?
How can I make it play the three files one by one?
Or I can't ? 

Original comment by jhp...@gmail.com on 1 Aug 2011 at 2:28

GoogleCodeExporter commented 9 years ago
No, not as of now. The Windows function used to play the sound only supports 
one sound at a time. Quick Googling reveals that DirectX would be needed to 
play multiple sounds asynchronously, which is not where we want to take 
Rainmeter.

Original comment by birunthan.mohanathas on 1 Aug 2011 at 3:22

GoogleCodeExporter commented 9 years ago

Original comment by birunthan.mohanathas on 1 Sep 2011 at 6:39