Incidentally, I have nearly achieved everything, and the below code represents a fairly good working example.
My issue now is I need to right justify the text according to the adjusting graphic Mesh11.png (attached).
It should be clear, when testing the below, that the attached png is being manipulated in such a way that it would appear to be moving to the right, exposing more of the black mesh area - which when only 1 character is put in for the text output represents a nearly round area of mesh.
Fine tuning will be necessary but like I said my main thing now is dynamically adjusting the text to appear to justify with the right edge of the dark mesh graphic.
Code: Select all
[MeasureCompName]
Measure=Plugin
Plugin=SysInfo
SysInfoType=COMPUTER_NAME
UpdateDivider=-1
[Mesh11Origin]
Meter=Image
ImageName=
X=1603
Y=557
[Mesh11CompName]
Meter=String
MeasureName=MeasureCompName
StringAlign=Right
FontColor=#ColorZ#
FontSize=13
FontFace=The Black Veil Pro
StringEffect=Border
FontEffectColor=000,000,000,255
InlineSetting=Case | Proper
x=128r
y=25r
Text=a
SolidColor=0,0,0,1
LeftMouseDownAction=["Shell:::{20D04FE0-3AEA-1069-A2D8-08002B30309D}"]
DynamicVariables=1
[Mesh11CalcCropX]
Measure=Calc
Formula=clamp((109-[Mesh11CompName:W]), 1, 109)
DynamicVariables=1
[Mesh11Mask]
Meter=Image
ImageName=#@#Mesh11.png
ImageCrop=[Mesh11CalcCropX], 0, 232, 156, 1
X=1686
Y=556
W=232
H=156
DynamicVariables=1