Help with DesktopX Script

This is a line I have in my script but I cant get it to work I want to have it shorten my Wind direction to show just the left 15 letters could anyone help me
Here is what I have
DesktopX.Object("Wind Speed").Text = "Wind: " & Left GetWind(Object.PersistStorage("wind_s"), Object.PersistStorage("wind_t"),15))

Thanks in advance
[email protected]
5,157 views 1 replies
Reply #1 Top
I'm not shure if I understand your commandline...

But, as far as i know Left does only take 2 parameters. the first one ist the string which should be left-cutted, and the second one is the length.
in your example you used 3...
Left(GetWind(Object.PersistStorage("wind_s"), Object.PersistStorage("wind_t"),15))

Hope I can help you
PhX