Skip to main content

This document describes how to send the "at sign" to the Rumba emulator from a script.

Problem:

When sending the "@" character to the Rumba display from a script, the character does not appear on the display as expected. How can this be done?

Resolution:

There are times when it may be desirable to send the "@" character to the Rumba display from a script. For example, if an email address needs to be inserted into a field. One might expect to call EMSendKeys to perform this task as follows:

EMSendKeys "User@mydomain.com"

This script doesn’t work as expected, because the "@" sign is interpreted as an escape sequence to introduce 3270 keyboard mnemonics. To properly send the "@" character, it must be doubled as shown here:

EMSendKeys "User@@mydomain.com"

This will result in the expected string being sent to the display: User@mydomain.com.

Old KB# 14420

#Rumba