I am sorry but it is exactly that i do.
Originally Posted by JohnWPB
I have that the the skin file:
and that into my autoit script:
global $distanceSlider = IniRead("Settings.ini", "Elevation", "distance", "");500
global $multiplier = 65536/$distanceSlider
$rr.execute("SETVAR;DISTANCESLIDER;"&$distance * $multiplier)
The difference is you are using the individual images in the "DistanceSliderImages" folder:
slider_3.png.... all the way up to 20.
With the dynamic slider line from above, all you need is a single image, the pointer.png. That single image "slides" up and down on the screen based on the variable.
Ok, I guess I am lost here.... I thought this script was just to tell the slope that you were driving on, either going up a hill, or down a hill and how steep.
What is the distance for, and why does distance need a slider?
I was thinking the slider was for the slope itself. In the screen capture below, the red line is at 0[IMG]file:///C:/DOCUME%7E1/John/LOCALS%7E1/Temp/moz-screenshot.png[/IMG]°, this would mean that you are driving on level ground. If you go down a hill, that slider should move down the slider, depending on how steep the hill is.
I still have no idea where the 5418% is coming from.... I have the GPS sitting on the desk next to me, so it is staying level. Should this not read 0%?
I have add a slider just for to do a slider test.
It is the first time that i try to use a slider on a autoit script. The slider's setting is defined :
With that setting the distance between the first point and le last point is 500m.
Also, each 500m, the script give a new slope value.
The slider give a distance, not an angle ! That would be a good idea to change that!
I don't know if I am able to do that, but i can to try .
The final script will have a specific GoogleMaps option who will give the slope of a track.
The swf additions are just for a test. As you can see , they don't run on this screen.
Can you try only on metre and say me if you have always a slope too big ? (> 45% is very dangerous !!!!)
Thanks to JohnWPB for the slope slider idea.
The vertical slider give the slope value between +45° and -45° with an alarm if the slope is higher than +-45° .:becky:
For slope, this would be a great indicator option, and if one had the option to replace the Jeep with their own vehicle it would be even more cool.
Version 0.4 is on the first post
I bet Sonic could whip that up in a flash movie in a heartbeat!
Originally Posted by drewbp
Audi A4 B8 2008