Show/Hide Toolbars

Managing an FVTerm Child iFrame in Javascript

Navigation: Using the FVTermParent Javascript Module > FVTermParent.js Functions and Variables

fvApi.SendKeysEx= async function(keys, onNextScreen)

Scroll Prev Top Next More

This is only available using the msgAPI (FVAPISession) mode.  

 

This function works the same way as fvApi.SendKeys except that it is defined as an async function and will return a Promise, enabling the use of an await on the execution.

 

If you have a series of fvApi.SendKeys calls that you want to ensure run synchronously in the msgAPI environment, use this instead.

 

For example:

 

await fvApi.SendKeysEx('[enter]');

await fvApi.SendKeysEx('[clear]');

await fvApi.SendKeysEx('info[enter]');