It is currently September 14th, 2024, 9:55 pm

Taskbar Skins Layout

A package of skins with a "theme" or by a single author
User avatar
sl23
Posts: 1667
Joined: February 17th, 2011, 7:45 pm
Location: a Galaxy S7 far far away

Re: Taskbar Skins Layout

Post by sl23 »

Watched that video you linked to. I don't get what the point was. He just said EVERY TIME you use the Mic to go into windows sound settings and set it there! How's that a fix!!! :rofl:

I think the only thing to do is to set the volume from the skin on Refresh. That way it'll auto adjust the sound to s set volume :)
57686174 77696C6C 6265 77696C6C 6265
User avatar
Yincognito
Rainmeter Sage
Posts: 8127
Joined: February 27th, 2015, 2:38 pm
Location: Terra Yincognita

Re: Taskbar Skins Layout

Post by Yincognito »

sl23 wrote: July 6th, 2024, 3:01 pmI don't get what the point was. [...] How's that a fix!!! :rofl:
Yincognito wrote: July 5th, 2024, 12:28 pm It's not a solution, but rather a confirmation.
Profiles: Rainmeter ProfileDeviantArt ProfileSuites: MYiniMeterSkins: Earth
User avatar
sl23
Posts: 1667
Joined: February 17th, 2011, 7:45 pm
Location: a Galaxy S7 far far away

Re: Taskbar Skins Layout

Post by sl23 »

Oh I forgot that bit! I read it yesterday and only just checked out the video today! lol

The bit about the fix wasn't directed at you but the guy who made the video!

The Title is "Why your microphone changes volume by itself and how to fix it" but there's no fix! :confused:
57686174 77696C6C 6265 77696C6C 6265
User avatar
Yincognito
Rainmeter Sage
Posts: 8127
Joined: February 27th, 2015, 2:38 pm
Location: Terra Yincognita

Re: Taskbar Skins Layout

Post by Yincognito »

sl23 wrote: July 6th, 2024, 8:55 pmThe Title is "Why your microphone changes volume by itself and how to fix it" but there's no fix! :confused:
Yeah, I agree, it's a bit of a clickbait - I only mentioned it because it shows that the issue happens for other people / mics. You could try testing the mic / our skins on another computer, or with another mic / cable / system if you can borrow one.
Profiles: Rainmeter ProfileDeviantArt ProfileSuites: MYiniMeterSkins: Earth
User avatar
sl23
Posts: 1667
Joined: February 17th, 2011, 7:45 pm
Location: a Galaxy S7 far far away

Re: Taskbar Skins Layout

Post by sl23 »

Yeah, it's good to know it's not just me! :thumbup:

I'll give them a try on my laptop and see if that is the same.
57686174 77696C6C 6265 77696C6C 6265
User avatar
sl23
Posts: 1667
Joined: February 17th, 2011, 7:45 pm
Location: a Galaxy S7 far far away

Re: Taskbar Skins Layout

Post by sl23 »

A little update on this issue...

I finally got round to checking the skin out on my laptop, not an easy task as it's a pain for anything audio related! Nahimics stupid software can't be permanently removed and just causes issues constantly!

Anyway, I had to rejig certain bits, but it worked ok once I did that. So, again, for me, it works. I think it must be a windows 10 issue maybe? :confused:
57686174 77696C6C 6265 77696C6C 6265
User avatar
Yincognito
Rainmeter Sage
Posts: 8127
Joined: February 27th, 2015, 2:38 pm
Location: Terra Yincognita

Re: Taskbar Skins Layout

Post by Yincognito »

sl23 wrote: August 11th, 2024, 9:08 pmSo, again, for me, it works. I think it must be a windows 10 issue maybe? :confused:
Didn't I already answer that in my 1st sentence here? :???:

But ok, I decided to investigate this one last time (although it's not my skin to do that), and here are the results:
- left, my test skin working
- right and in the log, your Taskbar Suite (Launcher 5.ini) not getting anything in mRunMicVol and displaying 0 in the corresponding meter at load / refresh time
Test Skin vs Taskbar Suite.jpg
The starting codes are similar (including the skins' update values!), only the values of the Mic and MicID variables are changed to mine, as you can see:
- my test skin

Code: Select all

[Variables]
MicID={0.0.1.00000000}.{da276718-3549-4034-87d8-e8a08cbe6f26}
LineID={0.0.1.00000000}.{0633eb3a-04b7-4232-bc8f-5a95f6d9a8f5}
MicVol=0
LineVol=0
MicMute=0
LineMute=0

[Rainmeter]
Update=50
AccurateText=1
DynamicWindowSize=1
BackgroundMode=2
SolidColor=0,0,0,255
OnRefreshAction=[!CommandMeasure GetMicVol "Run"][!CommandMeasure GetLineVol "Run"][!CommandMeasure GetMicMute "Run"][!CommandMeasure GetLineMute "Run"]

---Measures---

[GetMicVol]
Measure=Plugin
Plugin=RunCommand
Program=#@#Mic\svcl.exe
Parameter=/stdout /getpercent "#MicID#"
State=Hide
OutputType=ANSI
Timeout=10000
UpdateDivider=-1
RegExpSubstitute=1
Substitute="(?:\s+|[.]\d+)":""
FinishAction=[!SetOption MicVol Formula [GetMicVol]][!UpdateMeasure MicVol]
DynamicVariables=1

[MicVol]
Measure=Calc
Formula=0
MinValue=0
MaxValue=100
OnUpdateAction=[!SetVariable MicVol [MicVol]]
DynamicVariables=1

[GetMicMute]
Measure=Plugin
Plugin=RunCommand
Program=#@#Mic\svcl.exe
Parameter=/stdout /getmute "#MicID#"
State=Hide
OutputType=ANSI
Timeout=10000
UpdateDivider=-1
RegExpSubstitute=1
Substitute="(?:\s+|[.]\d+)":""
FinishAction=[!SetOption MicMute Formula [GetMicMute]][!UpdateMeasure MicMute]
DynamicVariables=1

[MicMute]
Measure=Calc
Formula=0
RegExpSubstitute=1
Substitute="^0$":"Unmuted","^1$":"Muted"
OnUpdateAction=[!SetVariable MicMute [MicMute]]
DynamicVariables=1

[GetLineVol]
Measure=Plugin
Plugin=RunCommand
Program=#@#Mic\svcl.exe
Parameter=/stdout /getpercent "#LineID#"
State=Hide
OutputType=ANSI
Timeout=10000
UpdateDivider=-1
RegExpSubstitute=1
Substitute="(?:\s+|[.]\d+)":""
FinishAction=[!SetOption LineVol Formula [GetLineVol]][!UpdateMeasure LineVol]
DynamicVariables=1

[LineVol]
Measure=Calc
Formula=0
MinValue=0
MaxValue=100
OnUpdateAction=[!SetVariable LineVol [LineVol]]
DynamicVariables=1

[GetLineMute]
Measure=Plugin
Plugin=RunCommand
Program=#@#Mic\svcl.exe
Parameter=/stdout /getmute "#LineID#"
State=Hide
OutputType=ANSI
Timeout=10000
UpdateDivider=-1
RegExpSubstitute=1
Substitute="(?:\s+|[.]\d+)":""
FinishAction=[!SetOption LineMute Formula [GetLineMute]][!UpdateMeasure LineMute]
DynamicVariables=1

[LineMute]
Measure=Calc
Formula=0
RegExpSubstitute=1
Substitute="^0$":"Unmuted","^1$":"Muted"
OnUpdateAction=[!SetVariable LineMute [LineMute]]
DynamicVariables=1

---Meters---

[Result]
Meter=String
FontFace=Consolas
FontSize=10
FontColor=255,255,255,255
SolidColor=0,0,0,128
AntiAlias=1
MeasureName=MicVol
MeasureName2=MicMute
MeasureName3=LineVol
MeasureName4=LineMute
Text=MicVol   = %1%#CRLF#MicMute  = %2#CRLF#LineVol  = %3%#CRLF#LineMute = %4
LeftMouseUpAction=[!CommandMeasure GetMicVol "Run"][!CommandMeasure GetLineVol "Run"][!CommandMeasure GetMicMute "Run"][!CommandMeasure GetLineMute "Run"]
DynamicVariables=1
- your Taskbar Suite (Launcher 5.ini)

Code: Select all

[Rainmeter]
Update=50
BackgroundMode=2
SolidColor=0,0,0,1
AccurateText=1
DynamicWindowSize=1
MouseActionCursor=0
SkinHeight=48
OnRefreshAction=[!CommandMeasure mCheckBTRun "run"][!CommandMeasure mRunMicVol "Run"][!CommandMeasure mRunLineVol "Run"][!CommandMeasure mRunMicMute "Run"][!CommandMeasure mRunLineMute "Run"]
MouseOverAction=[!ShowMeterGroup Apps][!UpdateMeterGroup Apps]
MouseLeaveAction=[!HideMeterGroup Apps][!UpdateMeterGroup Apps]

[Metadata]
Name=Sound Launcher
Author=sl23
Information=Sound Control, Spectrum Analyser, Launcher
Version=2024.06.27
License=CC BY 3.0

[Variables]
Aqua=0,255,255
AquaDark=#Aqua#,200
Blue=64,143,191
Green=128,255,0
Orange=255,170,0
OrangeDark=255,128,0
Red=255,100,100
Stroke=255,255,255,10
Trans=0,0,0,1
White=255,255,255,170
White20=255,255,255,20
White40=255,255,255,40
White60=255,255,255,60
Yellow=255,255,0

Shutdown.=200,100,100
Restart.=100,200,100
Sleep.=100,100,200
Lock.=235,170,100

BgFill=0,0,0,10
VolColour=#Green#

VolLow=25
VolMax=80
InputStep=5
MicVol=
LineVol=

; CmdFriendlyIDSyntax=DeviceName\Type\Name\Direction
; CmdFriendlyID=USB Audio\Device\Microphone\Capture
Mic=Realtek(R) Audio\Device\Microphone Array\Capture
Line=Realtek(R) Audio\Device\Line In\Capture
MicID={0.0.1.00000000}.{da276718-3549-4034-87d8-e8a08cbe6f26}
LineID={0.0.1.00000000}.{0633eb3a-04b7-4232-bc8f-5a95f6d9a8f5}

Alpha=255
BarColor1=80,64,191,#Alpha#
BarColor2=64,96,191,#Alpha#
BarColor3=64,143,191,#Alpha#
BarColor4=64,191,167,#Alpha#
BarColor5=64,191,96,#Alpha#
BarColor6=104,191,64,#Alpha#
BarColor7=175,191,64,#Alpha#
BarColor8=191,159,64,#Alpha#
BarColor9=191,112,64,#Alpha#
BarColor10=191,64,64,#Alpha#
FFTSolid=#Trans#

Apps=#PROGRAMDRIVE#\SyMenu\ProgramFiles
XY=#Apps#\MyApps\XYplorerPro\XYplorer.exe
UDX=-1
UD1=40

IconSize=Small
Path=#CURRENTPATH#Shortcuts

; Path to Apps
APP1L=["#Apps#\MyApps\PA.c\PortableApps\FirefoxPortable\FirefoxPortable.exe"]
APP1R=[#XY# /path="#Apps#\MyApps\PA.c\PortableApps\FirefoxPortable\"]

; Shutdown
Shutdown=shutdown.exe -s -t 00 -f
Restart=shutdown.exe -r -t 0
Sleep=rundll32.exe powrprof.dll,SetSuspendState
Lock=rundll32.exe user32.dll, LockWorkStation

========================================
; BUTTON
========================================
[Button]
Meter=Shape
Shape=Rectangle 0,0,10,10,5 | FillColor #Trans# | StrokeWidth 2 | Extend StrokeAlpha
StrokeAlpha=StrokeColor #White40#
DynamicVariables=1

LeftMouseUpAction=[!CommandMeasure "mOutput" "ToggleNext"][!Redraw]
MiddleMouseUpAction=[!Refresh]
MouseOverAction=[!SetOption #CURRENTSECTION# StrokeAlpha "Stroke Color #Yellow#"][!UpdateMeter *][!Redraw]
MouseLeaveAction=[!SetOption #CURRENTSECTION# StrokeAlpha "Stroke Color #White40#"][!UpdateMeter *][!Redraw]

ToolTipIcon=Info
ToolTipTitle=[mOutput]
ToolTipText="L - Output Device#CRLF#M - Refresh"
Hidden=1
Group=Apps
X=58
Y=6

========================================
; STYLES
========================================
[sAllText]
FontFace=Trebuchet MS
StringStyle=Bold
StringAlign=CenterCenter
FontSize=9
FontColor=#White#
SolidColor=#Trans#
AntiAlias=1
DynamicVariables=1
UpdateDivider=-1
Hidden=1
Group=Apps

[sHighlight]
MouseOverAction=[!SetOption #CURRENTSECTION# FontColor "#Green#"] [!UpdateMeter #CURRENTSECTION#] [!Redraw]
MouseLeaveAction=[!SetOption #CURRENTSECTION# FontColor ""] [!UpdateMeter #CURRENTSECTION#] [!Redraw]

[sRoundBar]
LineStart=20
LineLength=23
LineColor=#VolColour#
StartAngle=(Rad(270))
Antialias=1

[sBar]
BarOrientation=Horizontal
SolidColor=#White20#
DynamicVariables=1
W=200
H=1

========================================
; OUTPUT BACKGROUND
========================================
[VolBg1]
Meter=Shape
Shape=Rectangle 0,0,44,44,22 | Fill Color #BgFill# | StrokeWidth 3 | StrokeColor #Stroke#

LeftMouseUpAction=[!CommandMeasure "mOutput" "SetVolume #VolLow#"][!UpdateMeasure mOutput][!UpdateMeter *][!Redraw]
MiddleMouseUpAction=[!CommandMeasure "mOutput" "ToggleMute"]
RightMouseUpAction=[!CommandMeasure "mOutput" "SetVolume #VolMax#"][!UpdateMeasure mOutput][!UpdateMeter *][!Redraw]

MouseOverAction=[!SetOption Name Text "[mOutput]"][!ShowMeterGroup Name][!UpdateMeter *][!Redraw]
MouseLeaveAction=[!SetOption Name Text ""][!HideMeterGroup Name][!UpdateMeter *][!Redraw]

MouseScrollUpAction=[!CommandMeasure "mOutput" "ChangeVolume 5"] [!UpdateMeasure mOutput] [!UpdateMeter *] [!Redraw]
MouseScrollDownAction=[!CommandMeasure "mOutput" "ChangeVolume -5"] [!UpdateMeasure mOutput] [!UpdateMeter *] [!Redraw]
X=2
Y=2

[BgCover]
Meter=Shape
Shape=Rectangle 0,0,44,44,22 | Fill Color 0,0,0,200
DynamicVariables=1
X=r
Y=r

========================================
; SHUTDOWN
========================================
[PowerBorder]
Meter=Shape
Shape=Rectangle 0,0,90,16,5 | Fill Color #Trans# | StrokeWidth 2 | Extend StrokeAlpha
StrokeAlpha=StrokeColor #Trans#

MouseOverAction=[!SetOption #CURRENTSECTION# StrokeAlpha "StrokeColor #White20#"] [!ToggleMeterGroup Power] [!UpdateMeter *] [!Redraw]
MouseLeaveAction=[!SetOption #CURRENTSECTION# StrokeAlpha "StrokeColor #Trans#"] [!ToggleMeterGroup Power] [!UpdateMeter *] [!Redraw]
UpdateDivider=#UDX#

X=80
Y=3

[sShut]
Shape=Ellipse 0,0,5 | Extend FillColor | StrokeWidth 2 | Extend StrokeAlpha
FillColor=Fill Color [#[#CURRENTSECTION]]
StrokeAlpha=Stroke Color #Trans#

MouseOverAction=[!SetOption #CURRENTSECTION# StrokeAlpha "Stroke Color #White#"] [!UpdateMeter *][!Redraw]
MouseLeaveAction=[!SetOption #CURRENTSECTION# StrokeAlpha ""] [!UpdateMeter *] [!Redraw]
DynamicVariables=1

; ToolTipText=#CURRENTSECTION#
Group=Power
Hidden=1
X=20r
Y=r

[Shutdown.]
Meter=Shape
MeterStyle=sShut
LeftMouseUpAction=#Shutdown#
X=95
Y=11

[Restart.]
Meter=Shape
MeterStyle=sShut
LeftMouseUpAction=#Restart#

[Sleep.]
Meter=Shape
MeterStyle=sShut
LeftMouseUpAction=#Sleep#

[Lock.]
Meter=Shape
MeterStyle=sShut
LeftMouseUpAction=#Lock#

========================================
; SPECTRUM
========================================
[mAudio]
Measure=Plugin
Plugin=AudioLevel
Port=Output
RMSAttack=50
RMSDecay=300
RMSGain=2.3
FFTSize=2048
FFTAttack=15
FFTDecay=300
Sensitivity=45
Bands=10

[mBand0]
Measure=Plugin
Plugin=AudioLevel
Parent=mAudio
Type=Band
BandIdx=0
[mBand1]
Measure=Plugin
Plugin=AudioLevel
Parent=mAudio
Type=Band
BandIdx=1
[mBand2]
Measure=Plugin
Plugin=AudioLevel
Parent=mAudio
Type=Band
BandIdx=2
[mBand3]
Measure=Plugin
Plugin=AudioLevel
Parent=mAudio
Type=Band
BandIdx=3
[mBand4]
Measure=Plugin
Plugin=AudioLevel
Parent=mAudio
Type=Band
BandIdx=4
[mBand5]
Measure=Plugin
Plugin=AudioLevel
Parent=mAudio
Type=Band
BandIdx=5
[mBand6]
Measure=Plugin
Plugin=AudioLevel
Parent=mAudio
Type=Band
BandIdx=6
[mBand7]
Measure=Plugin
Plugin=AudioLevel
Parent=mAudio
Type=Band
BandIdx=7
[mBand8]
Measure=Plugin
Plugin=AudioLevel
Parent=mAudio
Type=Band
BandIdx=8
[mBand9]
Measure=Plugin
Plugin=AudioLevel
Parent=mAudio
Type=Band
BandIdx=9

[sFFT]
BarOrientation=Vertical
Container=BgCover
SolidColor=#FFTSolid#
X=1R
Y=0r
W=3
H=48

[Band0]
Meter=Bar
MeasureName=mBand0
MeterStyle=sFFT
BarColor=#BarColor1#
X=2
Y=2
[Band1]
Meter=Bar
MeasureName=mBand1
MeterStyle=sFFT
BarColor=#BarColor2#
[Band2]
Meter=Bar
MeasureName=mBand2
MeterStyle=sFFT
BarColor=#BarColor3#
[Band3]
Meter=Bar
MeasureName=mBand3
MeterStyle=sFFT
BarColor=#BarColor4#
[Band4]
Meter=Bar
MeasureName=mBand4
MeterStyle=sFFT
BarColor=#BarColor5#
[Band5]
Meter=Bar
MeasureName=mBand5
MeterStyle=sFFT
BarColor=#BarColor6#
[Band6]
Meter=Bar
MeasureName=mBand6
MeterStyle=sFFT
BarColor=#BarColor7#
[Band7]
Meter=Bar
MeasureName=mBand7
MeterStyle=sFFT
BarColor=#BarColor8#
[Band8]
Meter=Bar
MeasureName=mBand8
MeterStyle=sFFT
BarColor=#BarColor9#
[Band9]
Meter=Bar
MeasureName=mBand9
MeterStyle=sFFT
BarColor=#BarColor10#

========================================
; OUTPUT VOLUME
========================================
[mOutput]
Measure=Plugin
Plugin=Win7AudioPlugin
IfCondition=mOutput = -1
IfTrueAction=[!SetOption VolLevel Text "Mute"]
IfFalseAction=[!SetOption VolLevel Text "[*mOutput:*]"]
DynamicVariables=1

[VolLevel]
Meter=String
MeterStyle=sAllText | sHighlight
FontSize=12
Text=[mOutput:]
Hidden=0
Group=
X=24
Y=25

[VolBar]
Meter=Roundline
MeasureName=mOutput
MeterStyle=sRoundBar
LineColor=#VolColour#
LineWidth=5
Solid=0
Group=VLC
X=r
Y=r

========================================
; NAME
========================================
[NameBorder]
Meter=Shape
Shape=Rectangle 0,0,90,16,5 | Fill Color #BgFill# | StrokeWidth 2 | StrokeColor #OrangeDark#
UpdateDivider=#UDX#
Hidden=1
Group=Name
X=80
Y=3

[Name]
Meter=String
MeterStyle=sAllText
FontColor=#Aqua#
Text=
UpdateDivider=#UDX#
Hidden=1
Group=Name
X=45r
Y=8r

========================================
; APP SHORTCUT BUTTONS
========================================
[IconStyle]
AntiAlias=1
ImageAlpha=65
Hidden=1
Group=Icon
DynamicVariables=1

LeftMouseUpAction=[!CommandMeasure m#CURRENTSECTION# "FollowPath"][!UpdateMeasure mPath][!UpdateMeasureGroup Children][!UpdateMeter *][!Redraw]

MouseOverAction=[!SetOption #CURRENTSECTION# ImageAlpha "255"][!SetOption mName Index "#CURRENTSECTION#"][!UpdateMeasure mName][!SetOption Name Text "[mName]"][!ShowMeterGroup Name][!UpdateMeter Name][!UpdateMeter *][!Redraw]
MouseLeaveAction=[!SetOption #CURRENTSECTION# ImageAlpha ""][!SetOption mName Index ""][!UpdateMeasure mName][!SetOption Name Text ""][!HideMeterGroup Name][!UpdateMeter Name][!UpdateMeter *][!Redraw]
X=25r
Y=r

[Background]
Meter=Image
SolidColor=#Trans#
MouseOverAction=[!ShowMeterGroup Icon][!Redraw]
MouseLeaveAction=[!HideMeterGroup Icon][!Redraw]

MiddleMouseUpAction=[!Refresh]
MouseScrollUpAction=[!CommandMeasure mPath "IndexUp"][!SetOption Name Text "[mName]"][!UpdateMeasureGroup Children][!UpdateMeter *][!Redraw]
MouseScrollDownAction=[!CommandMeasure mPath "IndexDown"][!SetOption Name Text "[mName]"][!UpdateMeasureGroup Children][!UpdateMeter *][!Redraw]

Hidden=1
Group=Apps
X=55
Y=20
W=178
H=20

[mPath]
Measure=Plugin
Plugin=FileView
Path="#Path#"
ShowDotDot=0
HideExtensions=1
Count=7
Group=Children
DynamicVariables=1

[mName]
Measure=Plugin
Plugin=FileView
Path=[mPath]
Type=FileName
Index=#Index#
Group=Children
DynamicVariables=1

[m1]
Measure=Plugin
Plugin=FileView
Path=[mPath]
Type=Icon
IconSize=#IconSize#
Index=1
Group=Children

[m2]
Measure=Plugin
Plugin=FileView
Path=[mPath]
Type=Icon
IconSize=#IconSize#
Index=2
Group=Children

[m3]
Measure=Plugin
Plugin=FileView
Path=[mPath]
Type=Icon
IconSize=#IconSize#
Index=3
Group=Children

[m4]
Measure=Plugin
Plugin=FileView
Path=[mPath]
Type=Icon
IconSize=#IconSize#
Index=4
Group=Children

[m5]
Measure=Plugin
Plugin=FileView
Path=[mPath]
Type=Icon
IconSize=#IconSize#
Index=5
Group=Children

[m6]
Measure=Plugin
Plugin=FileView
Path=[mPath]
Type=Icon
IconSize=#IconSize#
Index=6
Group=Children

[m7]
Measure=Plugin
Plugin=FileView
Path=[mPath]
Type=Icon
IconSize=#IconSize#
Index=7
Group=Children

;----------------------------------------------------
; Meters
[1]
Meter=Image
MeasureName=m1
MeterStyle=IconStyle
X=5r
Y=2r

[2]
Meter=Image
MeasureName=m2
MeterStyle=IconStyle

[3]
Meter=Image
MeasureName=m3
MeterStyle=IconStyle

[4]
Meter=Image
MeasureName=m4
MeterStyle=IconStyle

[5]
Meter=Image
MeasureName=m5
MeterStyle=IconStyle

[6]
Meter=Image
MeasureName=m6
MeterStyle=IconStyle

[7]
Meter=Image
MeasureName=m7
MeterStyle=IconStyle

========================================
; BLUETOOTH
========================================
[mCheckBTRun]
Measure=Plugin
Plugin=RunCommand
Program="#@#\Bluetooth\bluetoothCheck.bat"
State=Hide
OutputType=UTF8
FinishAction=[!SetOption mCheckBTString String [mCheckBTRun]][!EnableMeasure mCheckBTString][!UpdateMeasure mCheckBTString][!Redraw]

[mCheckBTString]
Measure=String
Disabled=1
IfMatch=BT_ON
IfMatchAction=[!SetOption BTIcon FontColor "#Blue#"][!SetVariable BT "Bluetooth - On"][!UpdateMeter BTIcon]
IfNotMatchAction=[!SetOption BTIcon FontColor "#White#"][!SetVariable BT "Bluetooth - Off"][!UpdateMeter BTIcon]
DynamicVariables=1

[mToggleBTRun]
Measure=Plugin
Plugin=RunCommand
Program="#@#Bluetooth\bluetoothToggle.bat"
State=Hide
OutputType=UTF8
StartInFolder=#@#Bluetooth\
FinishAction=[!SetOption BTBg StrokeAlpha "Stroke Color #Blue#"][!UpdateMeter BTBg][!Delay 2000][!SetOption BTBg StrokeAlpha "Stroke Color #White20#"][!UpdateMeter BTBg][!SetOption mToggleBTString String [mToggleBTRun]][!EnableMeasure mToggleBTString][!UpdateMeasure mToggleBTString][!Redraw]
;every time after the bluetooth is toggled regardless of the status, the background color will turn blue for a second.

[mToggleBTString]
Measure=String
DynamicVariables=1
Disabled=1

[BTBg]
Meter=Shape
MeterStyle=sStroke
MouseOverAction=[!SetOption Name Text "#BT#"][!ShowMeterGroup Name][!SetOption #CURRENTSECTION# StrokeAlpha "Stroke Color #Green#"][!UpdateMeter *][!Redraw]
MouseLeaveAction=[!SetOption Name Text ""][!HideMeterGroup Name][!SetOption #CURRENTSECTION# StrokeAlpha "Stroke Color #White20#"][!UpdateMeter *][!Redraw]
ToolTipText=L - Toggle#CRLF#M - Settings
Shape=Rectangle 0,0,14,14,50 | Fill Color #Trans# | StrokeWidth 2 | Extend StrokeAlpha
StrokeAlpha=Stroke Color #White20#
DynamicVariables=1
UpdateDivider=#UDX#
Hidden=1
Group=Apps
X=25r
Y=r

[BTIcon]
Meter=String
MeterStyle=sAllText
FontSize=8
FontColor=#Blue#
FontFace=Segoe Fluent Icons
Text=[\xE702]
LeftMouseUpAction=[!CommandMeasure mToggleBTRun "run"]
MiddleMouseUpAction=ms-settings:bluetooth
RightMouseUpAction=[!CommandMeasure mCheckBTRun "run"]
X=7r
Y=7r

========================================
; INPUT CONTROL - GET DEVICE INFO
========================================
[mMicdbLevel]
Measure=Plugin
Plugin=AudioLevel
Port=Input
ID=#MicID#
RMSAttack=50
RMSDecay=300
RMSGain=2.3
DynamicVariables=1

[mLinedbLevel]
Measure=Plugin
Plugin=AudioLevel
Port=Input
ID=#LineID#
RMSAttack=50
RMSDecay=300
RMSGain=2.3
DynamicVariables=1

[mDeviceStatus]
Measure=Plugin
Plugin=AudioLevel
Parent=mMicdbLevel
Type=DeviceStatus
Substitute="0":"Off","1":"On"

[mDeviceList]
Measure=Plugin
Plugin=AudioLevel
Parent=mMicdbLevel
Type=DeviceList
Substitute="}: ":"}		"
OnChangeAction=[!Refresh]

[mDeviceName]
Measure=Plugin
Plugin=AudioLevel
Parent=mMicdbLevel
Type=DeviceName
Substitute="(Realtek(R) Audio)":"(R)","(USB Audio)":"(USB)","Microphone":"Mic","Line In":"Line"
IfMatch="Mic"
IfMatchAction=[!EnableMeasure MicMute][!UpdateMeter *][!Redraw]
IfNotMatchAction=[!DisableMeasure MicMute][!UpdateMeter *][!Redraw]

[mDeviceName2]
Measure=Plugin
Plugin=AudioLevel
Parent=mLinedbLevel
Type=DeviceName
Substitute="(Realtek(R) Audio)":"(R)","(USB Audio)":"(USB)","Microphone":"Mic","Line In":"Line"

[mDeviceID]
Measure=Plugin
Plugin=AudioLevel
Parent=mMicdbLevel
Type=DeviceID
IfMatch="#MicID#"
IfMatchAction=
;[!ActivateConfig "RM\Mic" "Mic 9.ini"][!SetOption Button StrokeAlpha "StrokeColor #Yellow#"][!UpdateMeter *] [!Redraw]
IfNotMatchAction=
;[!DeactivateConfig "RM\Mic" "Mic 9.ini"][!SetOption Button StrokeAlpha "StrokeColor #White60#"][!UpdateMeter *] [!Redraw]
OnChangeAction=[!Refresh]

[mDeviceFormat]
Measure=Plugin
Plugin=AudioLevel
Parent=mMicdbLevel
Type=Format

[mDeviceMicRms]
Measure=Plugin
Plugin=AudioLevel
Parent=mMicdbLevel
Type=RMS
Channel=Sum

[mDeviceLineRms]
Measure=Plugin
Plugin=AudioLevel
Parent=mLinedbLevel
Type=RMS
Channel=Sum

========================================
; GET AUDIO IN STATUS
========================================
[mRunMicVol]
Measure=Plugin
Plugin=RunCommand
Program=#@#Mic\svcl.exe
Parameter=/stdout /getpercent "#Mic#"
State=Hide
Timeout=250
OutputType=ANSI
FinishAction=[!SetOption MicVol Formula [mRunMicVol]][!UpdateMeasure MicVol][!UpdateMeter *][!Redraw]
RegExpSubstitute=1
Substitute="(?:\s+|[.]\d+)":""
DynamicVariables=1

[MicVol]
Measure=Calc
Formula=0
MinValue=0
MaxValue=100
DynamicVariables=1

[mRunMicMute]
Measure=Plugin
Plugin=RunCommand
Program=#@#Mic\svcl.exe
Parameter=/stdout /getmute "#Mic#"
State=Hide
Timeout=250
OutputType=ANSI
FinishAction=[!SetOption MicMute Formula [mRunMicMute]][!UpdateMeasure MicMute][!UpdateMeter *][!Redraw]
DynamicVariables=1

[MicMute]
Measure=Calc
Formula=0
IfCondition=(MicMute=1)
IfTrueAction=[!SetOption MicIcon Text "[\xEC54]"][!SetOption MicIcon FontColor "#Red#"][!UpdateMeter *][!Redraw]
IfFalseAction=[!SetOption MicIcon Text "[\xE720]"][!SetOption MicIcon FontColor "#AquaDark#"][!UpdateMeter *][!Redraw]
DynamicVariables=1

[mRunLineVol]
Measure=Plugin
Plugin=RunCommand
Program=#@#Mic\svcl.exe
Parameter=/stdout /getpercent "#Line#"
State=Hide
Timeout=250
OutputType=ANSI
FinishAction=[!SetOption LineVol Formula [mRunLineVol]][!UpdateMeasure LineVol][!UpdateMeter *][!Redraw]
RegExpSubstitute=1
Substitute="(?:\s+|[.]\d+)":""
DynamicVariables=1

[LineVol]
Measure=Calc
Formula=0
MinValue=0
MaxValue=100
DynamicVariables=1

[mRunLineMute]
Measure=Plugin
Plugin=RunCommand
Program=#@#Mic\svcl.exe
Parameter=/stdout /getmute "#Line#"
State=Hide
Timeout=250
OutputType=ANSI
FinishAction=[!SetOption LineMute Formula [mRunLineMute]][!UpdateMeasure LineMute][!UpdateMeter *][!Redraw]
DynamicVariables=1

[LineMute]
Measure=Calc
Formula=0
Substitute="0":"UnMuted","1":"Muted"
IfCondition=(LineMute=1)
IfTrueAction=[!SetOption LineIcon Text "[\xEC54]"][!SetOption LineIcon FontColor "#Red#"] [!UpdateMeter *][!Redraw]
IfFalseAction=[!SetOption LineIcon Text "[\xE720]"][!SetOption LineIcon FontColor "#Orange#"] [!UpdateMeter *][!Redraw]
DynamicVariables=1

========================================
; METERS
========================================
[MicIcon]
Meter=String
MeterStyle=sAllText
FontFace=Segoe Fluent Icons
FontSize=9
FontColor=#White60#
Text=[\xE720]

LeftMouseUpAction=[Play "#@#Volume\Copy.wav"][!SetClip "; Windows Default Input Device:#CRLF##CRLF#; Device Name:      [mDeviceName]#CRLF#; Device ID:        [mDeviceID]#CRLF#; Device Format:    [mDeviceFormat]#CRLF#; Device Status:    [mDeviceStatus]#CRLF##CRLF#; Device List:#CRLF##CRLF#[mDeviceList]"]

MouseOverAction=[!SetOption Name Text "[mDeviceName] - [mDeviceStatus]"][!ShowMeterGroup Name][!UpdateMeter *][!Redraw]
MouseLeaveAction=[!SetOption Name Text ""][!HideMeterGroup Name][!UpdateMeter *][!Redraw]

ToolTipText=L ~ Copy Device List

X=180
Y=12

[MicPercent]
Meter=String
MeterStyle=sAllText | sHighlight
FontColor=#White#
Text=[MicVol]

LeftMouseUpAction=[!SetVariable MicVol 25]["#@#Mic\SoundVolumeView.exe" /SetVolume "#Mic#" 25][!CommandMeasure mRunMicVol "Run"][!Update]
MiddleMouseUpAction=["#@#Mic\SoundVolumeView.exe" /Switch "#Mic#"][!CommandMeasure mRunMicMute "Run"][!Update]
RightMouseUpAction=[!SetVariable MicVol 80]["#@#Mic\SoundVolumeView.exe" /SetVolume "#Mic#" 80][!CommandMeasure mRunMicVol "Run"][!Update]

MouseScrollUpAction=[!SetVariable MicVol (Clamp(#MicVol#+#InputStep#,0,100))]["#@#Mic\SoundVolumeView.exe" /ChangeVolume "#Mic#" 5][!CommandMeasure mRunMicVol "Run"][!Update]
MouseScrollDownAction=[!SetVariable MicVol (Clamp(#MicVol#-#InputStep#,0,100))]["#@#Mic\SoundVolumeView.exe" /ChangeVolume "#Mic#" -5][!CommandMeasure mRunMicVol "Run"][!Update]
X=18r
Y=-1r

[LineIcon]
Meter=String
MeterStyle=sAllText
FontFace=Segoe Fluent Icons
FontSize=9
Text=[\xE720]

LeftMouseUpAction=ms-settings:sound
MiddleMouseUpAction=[control mmsys.cpl]

MouseOverAction=[!SetOption Name Text "[mDeviceName2] - [mDeviceStatus]"][!ShowMeterGroup Name][!UpdateMeter *][!Redraw]
MouseLeaveAction=[!SetOption Name Text ""][!HideMeterGroup Name][!UpdateMeter *][!Redraw]

ToolTipText=L ~ Main Sound Settings#CRLF#M ~ CP Sound Settings
X=20r
Y=12

[LinePercent]
Meter=String
MeterStyle=sAllText | sHighlight
FontColor=#White#
Text=[LineVol]

LeftMouseUpAction=["#@#Mic\SoundVolumeView.exe" /SetVolume "#Line#" 25][!CommandMeasure mRunLineVol "Run"][!Update]
MiddleMouseUpAction=["#@#Mic\SoundVolumeView.exe" /Switch "#Line#"][!CommandMeasure mRunLineMute "Run"][!Update][!Refresh]
RightMouseUpAction=["#@#Mic\SoundVolumeView.exe" /SetVolume "#Line#" 80][!CommandMeasure mRunLineVol "Run"][!Update]

MouseScrollUpAction=[!SetVariable LineVol (Clamp(#LineVol#+#InputStep#,0,100))]["#@#Mic\SoundVolumeView.exe" /ChangeVolume "#Line#" 5][!CommandMeasure mRunLineVol "Run"][!Update]
MouseScrollDownAction=[!SetVariable LineVol (Clamp(#LineVol#-#InputStep#,0,100))]["#@#Mic\SoundVolumeView.exe" /ChangeVolume "#Line#" -5][!CommandMeasure mRunLineVol "Run"][!Update]
X=18r
Y=-1r
======================================

[MicBarShape]
Meter=Shape
Shape=Rectangle 0,0,2,4,0 | Fill Color #AquaDark# | StrokeWidth 0
DynamicVariables=1
X=([MicVol:]*[MicBar:W]/100)+50
Y=38

[LineBarShape]
Meter=Shape
Shape=Rectangle 0,0,2,4,0 | Fill Color #Orange# | StrokeWidth 0
DynamicVariables=1
X=([LineVol:]*[LineBar:W]/100)+50
Y=r

[MicBar]
Meter=Bar
MeasureName=mDeviceMicRms
MeterStyle=sBar
BarColor=#AquaDark#
X=50
Y=5r

[LineBar]
Meter=Bar
MeasureName=mDeviceLineRms
MeterStyle=sBar
BarColor=#Orange#
X=r
Y=2r

========================================
; OUTPUT VU METRE
========================================
[mLeft]
Measure=Plugin
Plugin=AudioLevel
Parent=mAudio
Type=RMS
Channel=Sum

[Left]
Meter=Bar
MeasureName=mLeft
MeterStyle=sBar
BarColor=#VolColour#
X=50
Y=47
Heck, I even replaced SoundVolumeView.exe and svcl.exe with my older versions used by the test skin, to see if that is the culprit. As expected, no change, same results. Like you can notice, I didn't even use !Delay bangs in the test skin's OnRefreshAction, to find out if that mattered. So, again, it's not my Win 10... :confused:
You do not have the required permissions to view the files attached to this post.
Profiles: Rainmeter ProfileDeviantArt ProfileSuites: MYiniMeterSkins: Earth
User avatar
sl23
Posts: 1667
Joined: February 17th, 2011, 7:45 pm
Location: a Galaxy S7 far far away

Re: Taskbar Skins Layout

Post by sl23 »

Apologies, I have stated I have a poor memory. :oops:

I wasn't expecting you to delve into it again, I was just confirming my end seems OK on two machines. :)
57686174 77696C6C 6265 77696C6C 6265
User avatar
Yincognito
Rainmeter Sage
Posts: 8127
Joined: February 27th, 2015, 2:38 pm
Location: Terra Yincognita

Re: Taskbar Skins Layout

Post by Yincognito »

sl23 wrote: August 12th, 2024, 7:22 am Apologies, I have stated I have a poor memory. :oops:

I wasn't expecting you to delve into it again, I was just confirming my end seems OK on two machines. :)
Yeah, I know, it's ok, but you too know that I try my best to not do stuff more than once, and when I do I go to the bottom of it and cover all angles precisely so I don't have to do it again, it's my idea of efficiency. :lol:

Anyway, now at least we know what is not the culprit. Still a progress, I'd say. ;-)
Profiles: Rainmeter ProfileDeviantArt ProfileSuites: MYiniMeterSkins: Earth
User avatar
sl23
Posts: 1667
Joined: February 17th, 2011, 7:45 pm
Location: a Galaxy S7 far far away

Re: Taskbar Skins Layout

Post by sl23 »

I appreciate your stance and it's a good place to be. :thumbup:
57686174 77696C6C 6265 77696C6C 6265