Jump to content
  • 0

Voorbeeld Event-plugin


rmw

Question

Posted (edited)

Ik mag in

 

http://www.clarify.net/viewtopic.php?t=1909

 

geen bijlagen plaatsen dus maar even zo.

 

Een voorbeeld van de Event plug-in (die heb je dus nodig: http://www.softs4humans.com/FMPro_Plugins.html).

Om het voorbeeld goed te kunnen volgen heb je eigenlijk ook Developer nodig.

 

Voor wie die niet heeft hieronder de code van de custom functies

 

StartScript ( Naam ; Parameter )

S4HU_EventScript( Get ( FileName ) ; Naam ; Parameter )

 

LeesParameter ( lijst ; naam ; type )

Let( 
[ 
xNaam = "¶" & naam & "=" ;
xPositie = Position ( Lijst ; xNaam ; 0 ; 1 ) ;
xStart = If ( xPositie ; Position ( Lijst ; "=" ; xPositie ; 1 ) + 1 ; 0 ) ;
xLengte = If ( xPositie ; Position ( Lijst ; "¶" ; xPositie + 1 ; 1 ) - xStart ; 0 ) ;
xWaarde = If ( xPositie ; Middle ( Lijst ; xStart ; xLengte ) ; 0 )
] ; 

If ( xPositie ; 
Case ( 
type = "tekst" ; GetAsText ( xWaarde ) ; 
type = "getal" ; GetAsNumber ( xWaarde ) ; 
type = "datum" ; GetAsDate ( xWaarde ) ; 
type = "tijd" ; GetAsTime ( xWaarde ) ; 
type = "tijdstip" ; GetAsTimestamp ( xWaarde ) ; 
xWaarde
) ;
"Error" ) 
)

 

rmw

Wizard.zip

Edited by Guest

1 answer to this question

Recommended Posts

  • 0
Posted

wat knap dat je nu al je bijdrage voor morgen kan plaatsen, of ben ik de enige die in de toekomst kan kijken? Wat willen jullie weten?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...