HartleyC wrote:Is there any way to know when the volume is muted (rather than simply set to 0)? Would be cool to have a mute icon.
Use my search and replace plugin!
Take a look here: http://forums.lcdsmartie.org/viewtopic.php?t=733
Moderators: caesar, IFR, mattcro, limbo, _X7JAY7X_
HartleyC wrote:Is there any way to know when the volume is muted (rather than simply set to 0)? Would be cool to have a mute icon.
limbo wrote:HartleyC wrote:Is there any way to know when the volume is muted (rather than simply set to 0)? Would be cool to have a mute icon.
Use my search and replace plugin!
Take a look here: http://forums.lcdsmartie.org/viewtopic.php?t=733
Alzer wrote:Hey everyone,
I'm pretty new to LCD Smartie but I already love it. It lets me do exactly what I want with my LCD. Until recently I was looking for a way to show my system volume on the LCD and now I seem to have found it.
I got really excited and wanted to try it out so I click the link and... is met by the not so wonderful "Server not found" page.
Therefore, I ask anyone to make this plugin available for me to download.
Thanks in advance
//A
Say hello to your lucky star!

limbo wrote:Say hello to your lucky star!
Log in and download it from here!
EDIT: Alzer use this with the tinybar plugin (download it from my site) you gonna love it!![]()
erlis wrote:johnmacd wrote:Cool plugin. I gotta try this tonight.
I have a more of a general question, is it possible to have this plugin display on the screen for only a few seconds while the volume is being changed? and then have the screen revert back to whatever else it was displaying.
This is probably more of a LCD Smartie question, than for this plugin.
I have updated the plugin so function5 returns 1 if the volume has changed and 0 if it hasn't.
So add an action like this in your smartie.ini
- Code: Select all
Action03Variable=$dll(volume,5,1,1)
Action03Condition=2
Action03ConditionValue=1
Action03Action=GotoScreen(15)
Now you can specify what you whant to show when the volume changes on Screen 15.
fishthecat wrote:EDIT: No need to to this anymore thanks to the tiny bar plugin! http://www.lansley.co.uk/forum/phpBB2/v ... .php?t=561
I'll leave this post here in case it gives others ideas.
I've created a 'signal strength' type triangle to show my system volume in one charactor space.
Here's what it looks like when animated. In reality, it just moves up and down when I press my volume buttons.
My Dell multimedia keyboard has volume buttons on it. When pressed they raise and lower the system volume by exactly 4%. So, by using sandr.dll to detect volumes of 0%, 4%, 8%... etc. I can then have it replace those numerical percentages with a custom character.
Here's the code I'm using in smartie. Note that the volume is shown as +volwithleadingzero+.
- Code: Select all
$dll(sandr,1,+$dll(volume,4,,)+,)$Chr(136)
Here's the omit.ini file I'm using with sandr.dll. The string "16" is contained in $CustomChar(8,0,0,0,0,0,0,0,16) so I had to put in a work around to stop 16 being replaced in the customchar when the volume was at 16%. I chose to wrap my volumes with + symbols.
- Code: Select all
[Search1]
1=+00+
2=+04+
3=+08+
4=+12+
5=+16+
6=+20+
7=+24+
8=+28+
9=+32+
10=+36+
11=+40+
12=+44+
13=+48+
14=+52+
15=+56+
16=+60+
17=+64+
18=
19=
20=
[Replace1]
1=$CustomChar(8,0,0,0,0,0,0,0,0)
2=$CustomChar(8,0,0,0,0,0,0,0,0)
3=$CustomChar(8,0,0,0,0,0,0,0,16)
4=$CustomChar(8,0,0,0,0,0,0,24,16)
5=$CustomChar(8,0,0,0,0,0,0,24,16)
6=$CustomChar(8,0,0,0,0,0,24,24,16)
7=$CustomChar(8,0,0,0,0,0,24,24,16)
8=$CustomChar(8,0,0,0,0,28,24,24,16)
9=$CustomChar(8,0,0,0,0,28,24,24,16)
10=$CustomChar(8,0,0,0,28,28,24,24,16)
11=$CustomChar(8,0,0,0,28,28,24,24,16)
12=$CustomChar(8,0,0,30,28,28,24,24,16)
13=$CustomChar(8,0,0,30,28,28,24,24,16)
14=$CustomChar(8,0,30,30,28,28,24,24,16)
15=$CustomChar(8,0,30,30,28,28,24,24,16)
16=$CustomChar(8,31,30,30,28,28,24,24,16)
17=$CustomChar(8,31,30,30,28,28,24,24,16)
18=
19=
20=
It works well, but stops working if the volume goes to a value I'm not replacing, like 25%. That will only happen if I change the volume using something other than my keyboard.
Is there a rounding function in smartie I can use to round the volume %s to the nearest 5% say?
Return to Plugin Announcements
Users browsing this forum: No registered users and 1 guest