Any restriction using TypeText with strings?

I am using the the following command and sometimes it works other times it does not. It seem the variable is blank or empty when it does not work?

put “tcpreplay -i eth0 --timer=gtod -K -q FTP_Target_ED.cap” into target
TypeText target
TypeText Enter

Are there any restriction on length or types of charaters used in the string?


“Target” is one of the very few reserved words in SenseTalk. You can’t use it as a variable. There’s a list in Appendix A of the SenseTalk reference.