troi logo-homeproductspurchasesupportnewsaboutliststipslinks-

FAQ part 2: Specific plug-in questions

Table of Contents | Part 1 | Part 2 | Part 3 File Plug-in | Part 4 URL Plug-in

Activator Plug-in questions

Dialog Plug-in questions

Encryptor Plug-in questions

File Plug-in questions

The Troi File Plug-in has a separate page.  Go to the Troi File Plug-in FAQ

Serial Plug-in questions

Text Plug-in questions

The Troi Text Plug-in has a separate page.  Go to the Troi Text Plug-in FAQ

URL Plug-in questions

The Troi URL Plug-in has a separate page.  Go to the Troi URL Plug-in FAQ

Back to top

Activator Plug-in Questions

Q. Where do I implement script triggering when a user leaves a field?
You need to add a custom validation to the field you want to have a trigger. In Manage, Database, Fields tab select the field to add the trigger to. Then click on the option button and select the "Validation" tab. Select the "Validated by Calculation" checkbox and specify the calculation.

The calculation will be similar to this:

Actr_ScheduleEvent( "-addSingleEvent" ; Timestamp(Get(CurrentDate) ; Get(CurrentTime) ) ; Get(FileName) ; "myScript" ; Rec ID ; "dontcare")

Here "myScript" is the name of the script to trigger and RecID is an identifier of the record. Add the script "myScript" and add this step to get information out and remove the event:

Set Field[gRecID, Actr_GetEventInfo( "-LastTriggered -GetYourID -DeleteThisEvent" ; ) ]


See the Validation.fmp12 example in the download for more information on this.

Q. Will the Activator Plug-in track validation events within Filemaker, making it more slow?
No. The Activator Plug-in only becomes active when it gets called by FileMaker when a field is exited. So there is almost no extra overhead.

Q. Can I have several scripts in one file that trigger for field-changes or do they have to be in the same script?
You can have more scripts. This makes it much clearer.

Q. Can I have a script within the same file that checks for future-events (i.e. reminder/calendar-functions) and another one for checking/validating fields?
Yes, this is possible.

Q. Can I send remote events with Activator on Citrix?
Using Troi Activator Plug-in on Citrix and remote events has a limitation: only one listener can open the same portnumber on the Citrix server. So you need to use different portnumbers for each individual listening client, then it should be working fine.

You can administrate the opened port numbers in a shared database, similar as the Remote.fmp12 example in the download. When a clients starts listening store the portnumber as well. A sender can then find a client and its portnumber from this.

Q. What happens if FileMaker Pro is not running when a scheduled event is due to be triggered?
Nothing happens at that moment. FileMaker needs to be running and the database with the script to trigger must be open to be able to trigger the event.

If you want an event that was due to be triggered when FileMaker was not running also to trigger after FileMaker Pro is opened you can add the switch "-TriggerPastEventAfterRestart" to the Actr_ScheduleEvent function.

For example:

Set Field[result,
Actr_ScheduleEvent( "-addSingleEvent -triggerPastEventAfterRestart" ; Timestamp(Schedule::date ; Schedule::time ) ; Get(FileName); "Trigger Script 1"; "Your RecID" ; "") )]

But beware: this might result in all the 'old' scripts being triggered at almost the same time. It might be better to use a startup script to check with the help of data you stored in the database if any scripts need to be executed.

Q. On OS X 10.9 (Mavericks) Troi Activator Plug-in does not seem to load, or error code 1550 appears when installing. Do you have a solution?
On Mac OS X 10.9 (Mavericks) earlier versions of Troi Activator Plug-in do not load properly. When you use EasyInstallTroiPlugins.fmp12 this error dialog appears: "An error occurred while installing Troi Activator Plug-in (error code 1550)". Error code 1550 means: "Cannot load the plug-in or the plug-in is not a valid plug-in." We fixed this problem in version v3.5.1. Please update to that version or later of Troi Activator Plug-in.

 

Back to top

Dialog Plug-in Questions

Q. How to separate the button number and the user input from an input dialog?
Use the Dial_GetButton("") and Dial_GetInput("-Textn") (where n indicates the number of the input field) functions for this. The text of the button and the input field(s) is saved by the plug-in until a next dialog is displayed.

Q. Why doesn't Dial_DelayTicks update the screen on Mac OS X?
On Mac OS X there is a problem where FileMaker does not update the screen after a Dial_DelayTicks step, even if you do a Set Field step to some other data.

To workaround this please add a "Pause/Resume Script" step of zero seconds before the Dial_DelayTicks step, like this:

Pause/Resume Script[0:00:00]
Set Field[gErrorCode, Dial_DelayTicks( "-Unused" ; "30")]

Q. While I use the Dial_ProgressBar function some script steps are not performed. Is it correct that script steps that manipulate the clipboard do not to work?
Yes, this is a limitation of the plug-in. When the progress bar dialog is visible the script steps that use the clipboard, like pasting in a container field, will not work as these steps try to paste in the progress bar window.

You should not show the progress bar when there are these kind of steps.

 

Back to top

Encryptor Plug-in Questions

Q. Is it possible to make a secure connection over Internet, using FileMaker Network Sharing and Troi Encryptor Plug-in?
Yes. This will work if you do the following:

  • Encrypt (with the plug-in) all sensitive fields that you will make available.
  • On the server side make the file multi-user (here the normal file sharing is meant, not WebDirect sharing), and make it available over Internet.
  • On each client install the plug-in.
  • On the client side use FileMaker to open the file via the Hosts button (using TCP over Internet).

Q. Can you use Troi Encryptor plug-in and WebDirect to make a secure connection with a web browser?
No, the web browser on the client side would not know how to decrypt the encrypted data.

Q. Which encryption is used in Troi Encryptor plug-in?
Troi Encryptor Plug-in uses AES-256 bit encryption. The Advanced Encryption Standard (AES), also known as Rijndael, is a block cipher adopted as an encryption standard by the US government. It was adopted by the National Institute of Standards and Technology (NIST) in November 2001. AES is considered to be very secure and has the potential to remain secure well beyond twenty years. For backward compatibility with earlier versions of Troi Encryptor Plug-in as well as with Troi Coding Plug-in the plug-in also still implements the AES-128 bit and the newDES algorithm. Note that these are less secure than the AES-256 bit algorithm.

 

Back to top

File Plug-in Questions

The Troi File Plug-in has a separate page: To the Troi File Plug-in FAQ

 

Back to top

Serial Plug-in Questions

Q. Do any of your plug-ins support USB?
Not directly. USB is a bus protocol that can be used from various purposes and devices, like keyboards, harddisks, CD-ROM drives, adaptors, cameras. All these devices need specific drivers. We have currently no plans to create a USB plug-in. Note however that our Serial Plug-in is reported to be working with the USB to Serial adapters.

Q. Does your Troi Serial Plug-in work with USB to serial adapters?
Yes, we have had reports that the Keyspan USB-Serial adapters works well with Troi Serial Plug-in. See the Tripplite web site for some possible devices: http://www.tripplite.com

Q. Do you have a plug-in that can access a dongle?
We don't have a plug-in that can access a dongle. If you want to use the dongle on a serial port the Serial plug-in might be able to work with it. We have not tested this. You need to know what to send and receive from the dongle. We don't have information about that.

Q. Do you have a plug-in that can access the Parallel port?
We don't have a plug-in that can access the Parallel port.

Q. Using the Serial plug-in I can't get CallerID to work. How come?
Parsing out the CallerID is dependent on the exact string that the modem returns and can be different across modems, countries etc. In the CallerID.fmp12 file we have provided two different situations, but you may need to change that for your own use. Usually a return character can be used to mark the end of the incoming data. If this is not the case you need to analyse what delimits your CallerID data. Note: not all modems support callerID. See also our caller ID page at our web site: http://www.troi.com/support/callerid.html

Q. What are the funny square characters I get from serial data import?
The squares are control characters (lower ASCII, 0-31) for which no denotation exists in the font. Therefore you cannot distinguish one from the other. However, if you want to use one you can copy it and paste it in a global field for example. Take a look at ASCII.fmp12 in the download of the Serial plug-in for all the ASCII chars.

Q. How can we use Troi Serial Plug-In with Optical serial interfaces using OPTO-RS Flow Control?
You need to experiment with the Advanced Handshaking Options available through the Serial_Open script. Other users have had succes with "No Flow Control" and "RTS=disabled".

Q. How can I use the serial plug-in with a credit card swipe machine to enter the card number?
You need a credit card swipe machine that has a serial (RS232) interface. Also it should produce ASCII characters (bytes). Note that this does not authorize the credit card.

Q. Do you have a ready-made solution for Telephony integration?
No, we don't and we don't have any plans to make this in the near future. Note that Troi Serial Plug-in can communicate with any device that has a serial interface and produces ASCII characters (bytes). Some PABX have a serial interface and some users have used this plug-in for transmitting data to and from the PABX. The exact commands to do this is not standardized, so you need to find that out for yourself. Note that Troi Serial Plug-in is not TAPI compliant. We don't have a TAPI plug-in. More info on our Serial plug-in can be found at http://www.troi.com/software/serialplugin.html
BTW: If you have information on how to couple a PABX and want to share your results we are happy to put it on our web site.

Q. How can I get access to more than 4 serial ports on Windows?
With the release of Troi Serial Plug-in 3.0 all serial ports are detected automatically!

Back to top

Text Plug-in Questions

The Troi Text Plug-in has a separate page.  Go to the Troi Text Plug-in FAQ

Back to top

URL Plug-in Questions

The Troi URL Plug-in has a separate page.  Go to the Troi URL Plug-in FAQ

Back to top

 

Q. Why does the number 42 appear in the Troi Plug-ins?
It's the answer to the Question of Life, The Universe and Everything.=) See also www.h2g2.com


Back to top

Other Questions?

If your question is not answered here, please look in the documentation that comes with the plug-in. We will be adding more to this FAQ. If you have suggestions please .


www.troi.com/support   © 2016 Troi Automatisering, all rights reserved.