Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Troi Serial plugin and V7 runtimes

Featured Replies

I hope somebody can help me with a problem I'm having with Troi Serial Plugin and runtimes created in V7 on Windows 2000/XP. The plugin is not officially compatible with FM7 and it doesn't look like it will be upgraded anytime soon. This plugin can automatically trigger a script when data arrives on the serial port. This triggering is done by envoking the plugin's function SetDispatchScript from within a script.

This can be done using one of two methods, either by specifying the script's name, or the scriptkey (number of the script in the script menu, i.e. 3 if it's the 3rd script in the menu).

So the two versions could be :P

External("Serial-SetDispatchScript";Get(FileName) & "| scriptname=Process")

or

External("Serial-SetDispatchScript";Get(FileName) & "| scriptkey=3")

The scriptname version works but - and here's my problem - relies on ActiveX, which is not available in a runtime created with Developer.

The scriptkey version (which should basically emulate the keypress "CTRL-4" on Windows) doesn't work at all.

My question : is there anyone who has gotten the scriptkey version to work in FM7 and if so, how ?

Thanks to anyone who can provide some help.

Regards,

Peter

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.