Windows 10 Editing an existing script or code because it does not work as intended...

Johncoool

Extraordinary Member
Joined
Dec 20, 2016
Messages
192
I posted this query in another Forum about 1 month ago but no replies yet so I hope that I can get some feedback here.

3RVX is a skinable volume indicator for Windows. It looks almost exactly the same is the volume indicator for Windows 8 and 10 but in a different region of the screen.

I did not create the skin that I want to be edited, but it does not work by default as intended. So I guess that means that the code needs some improvement. I don't know how to code and I tried to change a few things around but without any success.

The Skin that I am trying to edit is called Windows Default. It works but without the knob. The knob PNG is there and it is in the Code but.........

Can someone fix the code so that it works.

I am adding the code plus a link for a portable version (so no need to install it) of the program for testing and a link for the skin. All you need to do is copy the skin called "Windows default" into the portable program directory and select it in settings. I will also add the default code

Portable 3RVX link (Found on the bottom of the page)


The skin Link (The link contains the entire installable program + the skins, so just extract the skin and add to directory and then run it). (Download it by clicking on Code in green and download zip).


The default code that is provided for the skin.

<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<skin>
<info>
<author>Bill Gates</author>
<website>Microsoft – Cloud, Computers, Apps & Gaming</website>
</info>

<osds>
<volume background="OSD/background.png" defaultUnits="50">
<meter type="Text" format="[[PERC]]"
font="Segoe UI" size="10" style="Bold" color="FFFFFF"
transparency="255" align="center" x="8" y="107"
width="50" height="20"/>
<meter type="VerticalBar" image="OSD/bar.png"
x="27" y="20" units="79"
colorTransform="FF00FF"
colorTransformTransparency="255"/>
<meter type="VerticalSliderKnob" image="OSD/knob.png"
x="27" y="20" width="11" height="79"/>
<iconset location="Icons/Volume"/>
<sound file="sound.wav"/>
</volume>
<mute background="OSD/background.png">
<meter type="VerticalSliderKnob" image="OSD/knob.png"
x="27" y="20" width="11" height="79"/>
<meter type="image" image="OSD/mute.png" x="26" y="109"/>
</mute>

<eject background="OSD/eject.png">
<icon file="Icons/Eject.ico"/>
</eject>
<!--
<brightness background="OSD/background.png" defaultUnits="50">
<meter type="HorizontalBar" image="OSD/meter.png"
x="33" y="165" units="16"/>
</brightness>
-->
</osds>

<sliders>
<volume background="Slider/background.png">
<slider type="vertical" image="Slider/knob.png"
x="32" y="20" width="5" height="98"/>
</volume>
</sliders>
</skin>
 


Solution
To enhance the functionality of the skin "Windows Default" in 3RVX, you need to focus on the knob functionality. Let's examine the provided code for potential issues:
1. Check the Path:
- Ensure that the file paths specified for images (knob, bar, background) are accurate and pointing to the correct locations for the skin images.
2. Transparency:
- Verify that the transparency values set for the meter elements are supported and correctly applied. Transparency values range from 0 (fully opaque) to 255 (fully transparent).
3. Meter Types:
- Review the usage of different meter types (Text, VerticalBar, VerticalSliderKnob) to ensure they align correctly and display as intended in the volume OSD.
4. Color Settings:
- Make sure...
To enhance the functionality of the skin "Windows Default" in 3RVX, you need to focus on the knob functionality. Let's examine the provided code for potential issues:
1. Check the Path:
- Ensure that the file paths specified for images (knob, bar, background) are accurate and pointing to the correct locations for the skin images.
2. Transparency:
- Verify that the transparency values set for the meter elements are supported and correctly applied. Transparency values range from 0 (fully opaque) to 255 (fully transparent).
3. Meter Types:
- Review the usage of different meter types (Text, VerticalBar, VerticalSliderKnob) to ensure they align correctly and display as intended in the volume OSD.
4. Color Settings:
- Make sure the color settings (colorTransform) are used accurately for the desired visual effects. The colorTransform attribute could impact the appearance of elements like the slider knob.
5. Coordinates and Dimensions:
- Confirm the x, y coordinates, width, and height settings for the components are appropriately adjusted to display the volume OSD elements in the desired positions and sizes.
6. Sound:
- Ensure that the sound file specified for the volume OSD is accessible and properly linked.
By thoroughly going through the skin code and checking the above aspects, you can potentially identify any discrepancies that might be hindering the knob functionality. Adjustments in the code following these guidelines should help in achieving the desired functionality for the knob in the skin.
Feel free to make adjustments in the provided skin code based on the observations made after reviewing the existing code. Let me know if you need further assistance or encounter specific challenges while modifying the skin for improved performance.
 


Solution
Back
Top