It is currently April 25th, 2024, 11:19 am

InputText Plugin OnDismissAction Problem

Share and get help with Plugins and Addons
Epsonmaster
Posts: 4
Joined: May 31st, 2013, 9:31 pm

InputText Plugin OnDismissAction Problem

Post by Epsonmaster »

Hi everyone,

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
Any Idea?

Thanks in advance!
Epsonmaster
Posts: 4
Joined: May 31st, 2013, 9:31 pm

Re: InputText Plugin OnDismissAction Problem

Post by Epsonmaster »

No ideas? :/
User avatar
thatsIch
Posts: 446
Joined: August 7th, 2012, 9:18 pm

Re: InputText Plugin OnDismissAction Problem

Post by thatsIch »

I assume you run RM 3.0?