Skip to main content

Hello,


I am having some trouble when a string ends in a special character.  I am reading data from an input file and assigning the data to a variable.  I have noticed that when the data that is read in ends in an @ or ! EMSend Key doesn't actually output anything to Rumba.  I have tested having the variable displayed to message box using Print and the variable including the @ or ! is displayed.  So it seems to be the function EMSendKey not being able to handle the special character.


#Rumba

Hello,


I am having some trouble when a string ends in a special character.  I am reading data from an input file and assigning the data to a variable.  I have noticed that when the data that is read in ends in an @ or ! EMSend Key doesn't actually output anything to Rumba.  I have tested having the variable displayed to message box using Print and the variable including the @ or ! is displayed.  So it seems to be the function EMSendKey not being able to handle the special character.


#Rumba

Hi,

the @ character is an escape character.

@A@Q  for example sends the attention key to the host.

If you need to send the @ character via EMSendKey then use @@

Sub Main

var1 = " RUMBA1@" "@"

print var1

EMSendKey var1

End Sub

/André