I have a Problem with the OnDismissAction from the InputText Plugin. It just does not anything...
The thing i would like to do:
If I click on a Image I want the InputText to ExecuteBatch 1 and I want a MeterGroup to be hidden (this works)
But then I tryed to show the MeterGroup again, if I do not confirm the text of the TextInput field, but this does not work
If I confirm the Input the Skin will be refreshed and everything works fine...
Corresponding Code:
Code: Select all
[MeasureUrl]
Measure=Plugin
Plugin=InputText.dll
x=0
y=0
W=400
H=44
FontSize=25
SolidColor=20,20,20,255
FontColor=255,255,255,255
FontFace=agency fb
DefaultValue=#URL#
FocusDismiss=1
OnDismissAction=[!ShowMeterGroup ShareGroup]
Command1=[!WriteKeyValue Variables URL "$UserInput$"][!Refresh]
AntiAlias=1
[MeterInsertUrl]
Meter=Image
ImageName=NewUrl.png
x=400
y=0
W=35
H=35
ImageTint=255,255,255,150
SolidColor=255,255,255,1
LeftMouseUpAction=[!PluginBang "MeasureUrl ExecuteBatch 1"][!HideMeterGroup ShareGroup][!Update]
MouseOverAction=[!SetOption MeterInsertUrl ImageTint 0,140,255,255][!Update]
MouseLeaveAction=[!SetOption MeterInsertUrl ImageTint 255,255,255,150][!Update]
AntiAlias=1
Thanks in advance!