This is very true about computer names. Some are a garbled string, to something like "Hannah's Open Source Production Machine".balala wrote: ↑September 5th, 2022, 10:39 am Sorry, but I believe it doesn't, because the user name rarely is the same (DEATHSTAR in this case). This is returned by the [MeasureUserName] measure, so it varies from computer to computer. That's why its length varies as well, so aligning it to left and placing it to certain position, is not doing properly the job.
Based on the posted screenshot and code snippets, I assume TildaNiobe works with illustro's Network skin. If I am right, the [MeterUserName1] and [MeterUserName2] meters should look this way:
Code: Select all
[MeterUserName1] Meter=String MeterStyle=styleLeftText X=10 Y=10r W=190 H=14 Text=Hostname [MeterUserName2] Meter=String MeterStyle=styleRightText MeasureName=MeasureUserName X=200 Y=r Text=%1
That means an enduser - other then you of course, mighn't ge great results from stretching the skin to fit the long string of words, to just overlapping ther edges. Justy a pointer - there are several ways to mitigate this.
If you need help or not please enjoy your new hobby - Rainmeter!