![]() ![]() To set non-text data use BEClipboardSetFile' '107' 'BEFolderCreate ( path )Folder CreateCreates a new folder at the location path. You only need to apply a single format when setting the clipboard. If you gt a 2 again, something went wrong and you can stop the script. When setting a type it's best to copy a sample and then use BEClipboardFormats to see what types are used. This time the value you get should be a 1 and you know it’s successful. ![]() Finally, test for success by creating that same variable and testing it again.If your variable equals 2, use the Install Plug-In File script step to point to the container field containing your plugin! his will quickly and automatically install your script! I can’t believe how fast it is! Next, use an If statement to test your variable for the value of 1 or 2.If it exists, I give the variable a value of 1, if it does not exist, I gave it a value of 2. In the example to the right, I used the PatternCount function to check for the word “Elements”. In your “Opening” script, create a variable that uses the Get (InstalledFMPlugins) script step to find out which plugins are already installed.Once the plugin in is inserted into the container field, you are ready to set up your “Opening” script.Insert the plugin required by your solution into the container field by right-clicking (Windows) the container field and choosing “Insert File”.Place the new container field on a layout. You can see in the picture to the left my field called “plugin_BaseElements” and the join with and “X” which signifies the cross-join (otherwise known as a cartesian relationship). I like to create a table with one record that is related to other tables via a cross join. The ability to execute SQL statements has been available via the external plug-in API since FileMaker Pro v7.0v3 was released, and many plug-ins have included this functionality, including MMQuery and the BaseElements plugins. Define a container field in a table that you can reference in your opening script.It turns out it’s pretty easy to check for an installed plugin and automatically install it if it is not already installed! Why: Instead of manually installing plugins for all your users, script it on opening!.What: How to Test for and Automatically Install a FileMaker Plugin. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |