Run an external command?




Is there any way to run an external command from a script?

Here's what I'm trying to accomplish:

I have some text field values where the users will enter text and this text will eventually be submitted to a game development team and then displayed as system messages on a Nintendo DS device. I need to validate the contents (similar to the "full" event) so the users won't enter strings that can't display on the DS game.

I have an executable utility that I can run from a command line to check the width of a string.

Is there any way to capture the value of this text field, pass it as a command line argument to an executable, and then capture the return of the executable?

I think I'm asking for too much from LiveCycle, but it's worth a shot.