It is currently April 24th, 2024, 11:13 pm

LeftMouseDownAction not Playing "somewavefile.wav"

Get help with creating, editing & fixing problems with skins
User avatar
Mor3bane
Posts: 943
Joined: May 7th, 2016, 7:32 am

LeftMouseDownAction not Playing "somewavefile.wav"

Post by Mor3bane »

Not dure why, but this (code below) is not working.

Frustrating :?

Code: Select all

[Top7]
Meter=Image
ImageName=#@#button.png
SolidColor=0,0,0,1
ImageTint=#Scanner#
X=941
Y=73
H=40
W=40
ToolTipText=
ToolTipType=1
LeftMouseDownAction=Play "#@#\viewscreenslow.wav"
What's wrong here, please?
My DevArt Gallery

There are many ways to be different - there is only one way to be yourself - be amazing at it

The law of averages says what it means; even if you get everything right, you will get something wrong. Therefore; self managing error trapping initiates another set of averages - amongst the errors, some of them will not be errors, instead those instances will appear to be "luck". One cannot complain of the 'appearance' of 'infinite regress of causation', even if it does not have a predictable pattern, only that it requires luck to achieve.
User avatar
CyberTheWorm
Posts: 860
Joined: August 22nd, 2016, 11:32 pm
Location: Surrey, B.C., Canada

Re: LeftMouseDownAction not Playing "somewavefile.wav"

Post by CyberTheWorm »

Code: Select all

LeftMouseDownAction=Play "#@#\viewscreenslow.wav"
change to

Code: Select all

LeftMouseUpAction=Play "#@#\viewscreenslow.wav"
for a start so you can drag the skin. Other than that as long as the wav file is in the root of the @Resources folder it will work. It did when I tested it.
The only source of knowledge is experience. Albert Einstein
Deviant Art Page
mak_kawa
Posts: 908
Joined: December 30th, 2015, 9:47 am

Re: LeftMouseDownAction not Playing "somewavefile.wav"

Post by mak_kawa »

Change to LeftMouseUpAction=Play "#@#viewscreenslow.wav".

#@# includes tail-end slash itself.
User avatar
fonpaolo
Moderator
Posts: 1387
Joined: April 11th, 2013, 8:08 pm
Location: Italy

Re: LeftMouseDownAction not Playing "somewavefile.wav"

Post by fonpaolo »

mak_kawa wrote:Change to LeftMouseUpAction=Play "#@#viewscreenslow.wav".

#@# includes tail-end slash itself.
Your clarification is correct, however Rainmeter simply ignores the "\" if it's still there. ;-)
mak_kawa
Posts: 908
Joined: December 30th, 2015, 9:47 am

Re: LeftMouseDownAction not Playing "somewavefile.wav"

Post by mak_kawa »

Ah... I missed, sorry.
User avatar
balala
Rainmeter Sage
Posts: 16168
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: LeftMouseDownAction not Playing "somewavefile.wav"

Post by balala »

mak_kawa wrote:Change to LeftMouseUpAction=Play "#@#viewscreenslow.wav".

#@# includes tail-end slash itself.
Read the P.S. here: https://forum.rainmeter.net/viewtopic.php?p=111157#p111157
Mor3bane wrote:What's wrong here, please?
It seems there's nothing wrong with your code. I don't have the viewscreenslow.wav file, but if I replace it with an existent file, your meter is working well. So, maybe there's something with the viewscreenslow.wav file itself. Could you please post it, to can check?
User avatar
fonpaolo
Moderator
Posts: 1387
Joined: April 11th, 2013, 8:08 pm
Location: Italy

Re: LeftMouseDownAction not Playing "somewavefile.wav"

Post by fonpaolo »

User avatar
Mor3bane
Posts: 943
Joined: May 7th, 2016, 7:32 am

Re: LeftMouseDownAction not Playing "somewavefile.wav"

Post by Mor3bane »

I should be able to attach a .wav file shouldn't I?

Well, the file must be doofed if so, since it will not attach with a message saying "invalid extension".

I made a high quality wav with a neeto stereo effect, so I made it mono and it still wont work.

I am thinking the version of Wavpad 7.xx I am using produces files that Rainmeter 4.0 can't use.

The file plays in windows 10, however. :?
My DevArt Gallery

There are many ways to be different - there is only one way to be yourself - be amazing at it

The law of averages says what it means; even if you get everything right, you will get something wrong. Therefore; self managing error trapping initiates another set of averages - amongst the errors, some of them will not be errors, instead those instances will appear to be "luck". One cannot complain of the 'appearance' of 'infinite regress of causation', even if it does not have a predictable pattern, only that it requires luck to achieve.
User avatar
balala
Rainmeter Sage
Posts: 16168
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: LeftMouseDownAction not Playing "somewavefile.wav"

Post by balala »

Mor3bane wrote:I should be able to attach a .wav file shouldn't I?

Well, the file must be doofed if so, since it will not attach with a message saying "invalid extension".
Not this is the reason why it's not attached. Not any file type can be attached, probably .wav can't be. Usually in such cases, the file should be packed (eg as a zip). Then this packed file can be uploaded.
User avatar
Mor3bane
Posts: 943
Joined: May 7th, 2016, 7:32 am

Re: LeftMouseDownAction not Playing "somewavefile.wav"

Post by Mor3bane »

ok, I am going to deserve an award - unfortunately the award will have a less than prestigious title...

The volume for Rainmeter was at zero.
My DevArt Gallery

There are many ways to be different - there is only one way to be yourself - be amazing at it

The law of averages says what it means; even if you get everything right, you will get something wrong. Therefore; self managing error trapping initiates another set of averages - amongst the errors, some of them will not be errors, instead those instances will appear to be "luck". One cannot complain of the 'appearance' of 'infinite regress of causation', even if it does not have a predictable pattern, only that it requires luck to achieve.