Skip to main content
Tag

plugin

Second Value List in a dialog pop-up

With the recently released Troi Dialog Plug-in 6 for FileMaker Pro you can create very powerful Input Dialogs in a few script steps.

Below we show how to display an input dialog with a popup, which displays the values of a second value list, while returning the chosen value from the first list.

This (simplified) example uses fixed text to build the dialog, normally you would fill the dialog with data from your database. In ScriptMaker you need to add script steps to a script, but you can of course copy the script from the example files in the download of Troi Dialog Plug-in.

Implementing the InputDialog

First set the values for the popup. For this popup we fill the optional last parameter, which holds a second value list (with item names).
Continue Reading

Files and Folders and FileMaker

Did you know that with Troi File Plug-in you can easily see which files or folders are in a folder?

You can get this list easily into FileMaker Pro with the TrFile_ListFolder( ) function. In ScriptMaker add this script step to a script:
Set Field [ result, TrFile_ListFolder( “-Files -Folders” ; “Mac HD:”) ]
This will return a text list of all files and folders on the hard disk “Mac HD”. The two switches -Files and -Folders indicate you want both types returned. This might return for example this:

Test.fmp12
Desktop Folder
Program files
Financial report.xls

and so on…
Continue Reading