Jump to content
  • 0

Check of Plugin is actief


Ari

Question

4 answers to this question

Recommended Posts

  • 0
Posted

If [Left ( SDialog_Version ("long" ) ; 24 ) ≠ "24U SimpleDialog Plug-In"]
   Show Custom Dialog ["Plug-in ontbreekt"; "Plug-in niet gevonden"]
   Close File [Current File]
End If

 

Elke plug-in heeft zijn eigen functie, waarmee zijn bestaan kan worden gedetecteerd. Kijk in de documentatie voor de juiste syntax.

  • 0
Posted

Het werkt in bijna alle gevallen ook als je checkt op "?" als resultaat van de "plugin_huppeldepup_version( )" versie.

Soms weet je immers niet wat het resultaat zal zijn.

Als FileMaker probeert een onbestaande functie op te roepen, zal het resultaat "?" zijn.

 

Een andere tip is de test functie te quoten en te evalueren. Bijvoorbeeld:

Evaluate ( "FMSAUC_Version ( 0 )" )

Als de plug-in niet geinstalleerd is op je eigen machine ziet je anders op de plaats van je functie, dus weet je niet meer waarop je test.

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...