Jump to content

Troi Serial plugin and V7 runtimes


This topic is 6603 days old. Please don't post here. Open a new topic instead.

Recommended Posts

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")


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.



Link to comment
Share on other sites

This topic is 6603 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...

Important Information

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