| Home | Forums | Register | FAQ | Search | Today's Posts | Mark Forums Read |
|
Welcome to the misticriver forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact us. |
| Tags: 84 levels, volume, wps |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
[WPS] problem with 84 levels volume display
Hi,
I have a little problem: I wanted to use the volume tag (%pv) to the max, so instead of the usual 10 bars I wanted to show all 84 volume positions. Because there are only 52 images allowed and because you can only load an image on one particular position, I needed to improvise and use text to display a bar. I thought it could easily be done by using a code somewhat similar to this: Code:
%e|43|88+%pv|26|1|000000|%?pv<__|__|__|__|__|__|__|__|__|__|__|__|__|__|__|__|__|__|__|__|__|__|__|__|__|__|__|__|__|__|__|__|__|__|__|__|__|__|__|__|__|__|__|__|__|__|__|__|__|__|__|__|__|__|__|__|__|__|__|__|__|__|__|__|__|__|__|__|__|__|__|__|__|__|__|__|__|__|__|__|__|__|__|__> I turned out that it's not possible to use calculations in your WPS. So, because that didn't work, I needed to do it the big way, like this: Code:
%e|43|89|26|1|000000|%?pv<__|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||> %e|43|88|26|1|000000|%?pv<|__||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||> %e|43|87|26|1|000000|%?pv<||__|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||> %e|43|86|26|1|000000|%?pv<|||__||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||> %e|43|85|26|1|000000|%?pv<||||__|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||> %e|43|84|26|1|000000|%?pv<|||||__||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||> %e|43|83|26|1|000000|%?pv<||||||__|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||> %e|43|82|26|1|000000|%?pv<|||||||__||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||> %e|43|81|26|1|000000|%?pv<||||||||__|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||> %e|43|80|26|1|000000|%?pv<|||||||||__||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||> %e|43|79|26|1|000000|%?pv<||||||||||__|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||> %e|43|78|26|1|000000|%?pv<|||||||||||__||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||> %e|43|77|26|1|000000|%?pv<||||||||||||__|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||> %e|43|76|26|1|000000|%?pv<|||||||||||||__||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||> %e|43|75|26|1|000000|%?pv<||||||||||||||__|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||> %e|43|74|26|1|000000|%?pv<|||||||||||||||__||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||> %e|43|73|26|1|000000|%?pv<||||||||||||||||__|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||> %e|43|72|26|1|000000|%?pv<|||||||||||||||||__||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||> %e|43|71|26|1|000000|%?pv<||||||||||||||||||__|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||> %e|43|70|26|1|000000|%?pv<|||||||||||||||||||__||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||> %e|43|69|26|1|000000|%?pv<||||||||||||||||||||__|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||> %e|43|68|26|1|000000|%?pv<|||||||||||||||||||||__||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||> %e|43|67|26|1|000000|%?pv<||||||||||||||||||||||__|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||> %e|43|66|26|1|000000|%?pv<|||||||||||||||||||||||__||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||> %e|43|65|26|1|000000|%?pv<||||||||||||||||||||||||__|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||> %e|43|64|26|1|000000|%?pv<|||||||||||||||||||||||||__||||||||||||||||||||||||||||||||||||||||||||||||||||||||||> %e|43|63|26|1|000000|%?pv<||||||||||||||||||||||||||__|||||||||||||||||||||||||||||||||||||||||||||||||||||||||> %e|43|62|26|1|000000|%?pv<|||||||||||||||||||||||||||__||||||||||||||||||||||||||||||||||||||||||||||||||||||||> %e|43|61|26|1|000000|%?pv<||||||||||||||||||||||||||||__|||||||||||||||||||||||||||||||||||||||||||||||||||||||> %e|43|60|26|1|000000|%?pv<|||||||||||||||||||||||||||||__||||||||||||||||||||||||||||||||||||||||||||||||||||||> %e|43|59|26|1|000000|%?pv<||||||||||||||||||||||||||||||__|||||||||||||||||||||||||||||||||||||||||||||||||||||> %e|43|58|26|1|000000|%?pv<|||||||||||||||||||||||||||||||__||||||||||||||||||||||||||||||||||||||||||||||||||||> %e|43|57|26|1|000000|%?pv<||||||||||||||||||||||||||||||||__|||||||||||||||||||||||||||||||||||||||||||||||||||> %e|43|56|26|1|000000|%?pv<|||||||||||||||||||||||||||||||||__||||||||||||||||||||||||||||||||||||||||||||||||||> %e|43|55|26|1|000000|%?pv<||||||||||||||||||||||||||||||||||__|||||||||||||||||||||||||||||||||||||||||||||||||> %e|43|54|26|1|000000|%?pv<|||||||||||||||||||||||||||||||||||__||||||||||||||||||||||||||||||||||||||||||||||||> %e|43|53|26|1|000000|%?pv<||||||||||||||||||||||||||||||||||||__|||||||||||||||||||||||||||||||||||||||||||||||> %e|43|52|26|1|000000|%?pv<|||||||||||||||||||||||||||||||||||||__||||||||||||||||||||||||||||||||||||||||||||||> %e|43|51|26|1|000000|%?pv<||||||||||||||||||||||||||||||||||||||__|||||||||||||||||||||||||||||||||||||||||||||> %e|43|50|26|1|000000|%?pv<|||||||||||||||||||||||||||||||||||||||__||||||||||||||||||||||||||||||||||||||||||||> %e|43|49|26|1|000000|%?pv<||||||||||||||||||||||||||||||||||||||||__|||||||||||||||||||||||||||||||||||||||||||> %e|43|48|26|1|000000|%?pv<|||||||||||||||||||||||||||||||||||||||||__||||||||||||||||||||||||||||||||||||||||||> %e|43|47|26|1|000000|%?pv<||||||||||||||||||||||||||||||||||||||||||__|||||||||||||||||||||||||||||||||||||||||> %e|43|46|26|1|000000|%?pv<|||||||||||||||||||||||||||||||||||||||||||__||||||||||||||||||||||||||||||||||||||||> %e|43|45|26|1|000000|%?pv<||||||||||||||||||||||||||||||||||||||||||||__|||||||||||||||||||||||||||||||||||||||> %e|43|44|26|1|000000|%?pv<|||||||||||||||||||||||||||||||||||||||||||||__||||||||||||||||||||||||||||||||||||||> %e|43|43|26|1|000000|%?pv<||||||||||||||||||||||||||||||||||||||||||||||__|||||||||||||||||||||||||||||||||||||> %e|43|42|26|1|000000|%?pv<|||||||||||||||||||||||||||||||||||||||||||||||__||||||||||||||||||||||||||||||||||||> %e|43|41|26|1|000000|%?pv<||||||||||||||||||||||||||||||||||||||||||||||||__|||||||||||||||||||||||||||||||||||> %e|43|40|26|1|000000|%?pv<|||||||||||||||||||||||||||||||||||||||||||||||||__||||||||||||||||||||||||||||||||||> %e|43|39|26|1|000000|%?pv<||||||||||||||||||||||||||||||||||||||||||||||||||__|||||||||||||||||||||||||||||||||> %e|43|38|26|1|000000|%?pv<|||||||||||||||||||||||||||||||||||||||||||||||||||__||||||||||||||||||||||||||||||||> %e|43|37|26|1|000000|%?pv<||||||||||||||||||||||||||||||||||||||||||||||||||||__|||||||||||||||||||||||||||||||> %e|43|36|26|1|000000|%?pv<|||||||||||||||||||||||||||||||||||||||||||||||||||||__||||||||||||||||||||||||||||||> %e|43|35|26|1|000000|%?pv<||||||||||||||||||||||||||||||||||||||||||||||||||||||__|||||||||||||||||||||||||||||> %e|43|34|26|1|000000|%?pv<|||||||||||||||||||||||||||||||||||||||||||||||||||||||__||||||||||||||||||||||||||||> %e|43|33|26|1|000000|%?pv<||||||||||||||||||||||||||||||||||||||||||||||||||||||||__|||||||||||||||||||||||||||> %e|43|32|26|1|000000|%?pv<|||||||||||||||||||||||||||||||||||||||||||||||||||||||||__||||||||||||||||||||||||||> %e|43|31|26|1|000000|%?pv<||||||||||||||||||||||||||||||||||||||||||||||||||||||||||__|||||||||||||||||||||||||> %e|43|30|26|1|000000|%?pv<|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||__||||||||||||||||||||||||> %e|43|29|26|1|000000|%?pv<||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||__|||||||||||||||||||||||> %e|43|28|26|1|000000|%?pv<|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||__||||||||||||||||||||||> %e|43|27|26|1|000000|%?pv<||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||__|||||||||||||||||||||> %e|43|26|26|1|000000|%?pv<|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||__||||||||||||||||||||> %e|43|25|26|1|000000|%?pv<||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||__|||||||||||||||||||> %e|43|24|26|1|000000|%?pv<|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||__||||||||||||||||||> %e|43|23|26|1|000000|%?pv<||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||__|||||||||||||||||> %e|43|22|26|1|000000|%?pv<|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||__||||||||||||||||> %e|43|21|26|1|000000|%?pv<||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||__|||||||||||||||> %e|43|20|26|1|000000|%?pv<|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||__||||||||||||||> %e|43|19|26|1|000000|%?pv<||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||__|||||||||||||> %e|43|18|26|1|000000|%?pv<|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||__||||||||||||> %e|43|17|26|1|000000|%?pv<||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||__|||||||||||> %e|43|16|26|1|000000|%?pv<|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||__||||||||||> %e|43|15|26|1|000000|%?pv<||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||__|||||||||> %e|43|14|26|1|000000|%?pv<|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||__||||||||> %e|43|13|26|1|000000|%?pv<||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||__|||||||> %e|43|12|26|1|000000|%?pv<|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||__||||||> %e|43|11|26|1|000000|%?pv<||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||__|||||> %e|43|10|26|1|000000|%?pv<|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||__||||> %e|43|9|26|1|000000|%?pv<||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||__|||> %e|43|8|26|1|000000|%?pv<|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||__||> %e|43|7|26|1|000000|%?pv<||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||__|> %e|43|6|26|1|000000|%?pv<|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||__> So, my question to you all is: is there a way to let a bar be shown (at a lower position if the volume is low, and at a higher if the volume is high), while keeping the code small? Or is it even possible to use one image at different positions? |
|
||||
|
What you are wanting to do is not really possible. However, there is a way of shortening your code (i think):
Code:
%?pv<%||%|%||%|%|%||%|%|%|%||%|%|%|%|%||%|%|%|%|%|%||%|%|%|%|%|%|%||%|%|%|%|%| %|%|%||%|%|%|%|%|%|%|%|%|%||%|%|%|%|%|%|%|%|%|%|%||%|%|%|%|%|%|%|%|%|%|%|%||%| %|%|%|%|%|%|%|%|%|%|%|%||%|%|%|%|%|%|%|%|%|%|%|%|%|%||%|%|%|%|%|%|%|%|%|%|%|% |%|%|%||%|%|%|%|%|%|%|%|%|%|%|%|%|%|%|%||%|%|%|%|%|%|%|%|%|%|%|%|%|%|%|%|%||%| %|%|%|%|%|%|%|%|%|%|%|%|%|%|%|%|%||%|%|%|%|%|%|%|%|%|%|%|%|%|%|%|%|%|%|%||%|%| %|%|%|%|%|%|%|%|%|%|%|%|%|%|%|%|%|%|%||%|%|%|%|%|%|%|%|%|%|%|%|%|%|%|%|%|%|%|%|%||%|%|%|%|%|%|%|%|%|%|%|%|%|%|%|%|%|%|%|%|%|%||%|%|%|%|%|%|%|%|%|%|%|%|%|%|%|%|%|%|%|%|%|%|%||%|%|%|%|%|%|%|%|%|%|%|%|%|%|%|%|%|%|%|%|%|%|%|%||%|%|%|%|%|%|%|%|%|%|%|%|%|%|%|%|%|%|%|%|%|%|%|%|%||%|%|%|%|%|%|%|%|%|%|%|%|%|%|%|%|%|%|%|%|%|%|%|%|%|%||%|%|%|%|%|%|%|%|%|%|%|%|%|%|%|%|%|%|%|%|%|%|%|%|%|%|%||%|%|%|%|%|%|%|%|%|%|%|%|%|%|%|%|%|%|%|%|%|%|%|%|%|%|%|%||%|%|%|%|%|%|%|%|%|%|%|%|%|%|%|%|%|%|%|%|%|%|%|%|%|%|%|%|%||%|%|%|%|%|%|%|%|%|%|%|%|%|%|%|%|%|%|%|%|%|%|%|%|%|%|%|%|%|%|> *EDIT: just noticed I put in the battery tag instead of the volume one. Changed.*
__________________
Guide to changing H300 batteries Last edited by Denny : February 21st, 2007 at 03:22 PM. Reason: wrong tag |
|
|||
|
maybe someone could make a new patch which uses 3 pictures for a volume-display:
one for "mute" (-80), one for "max" (0) and one for all the rest, which is used just like the progress-bar (1px size for -79dB, image-size minus 1px for -1dB) |