Press was designed to identify keys after virtual key names (VK_) defined in the Java KeyEvent class. The command was not intended to support direct ASCII characters.
The Type and Typeline commands on the other hand handle the text as a character or a sequence of characters and may be used to press such characters - "Type #" and "Type !" should work fine in such a case.
Anyway it is easy to extend the Press functionality to support these keys. The fix has been committed to the CVS and will be released in 2.0.3.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Press was designed to identify keys after virtual key names (VK_) defined in the Java KeyEvent class. The command was not intended to support direct ASCII characters.
The Type and Typeline commands on the other hand handle the text as a character or a sequence of characters and may be used to press such characters - "Type #" and "Type !" should work fine in such a case.
Anyway it is easy to extend the Press functionality to support these keys. The fix has been committed to the CVS and will be released in 2.0.3.
Fix delivered in 2.0.3 on 29 March 2010.