I’m using the SendKey script library:
http://www-10.lotus.com/ldd/sandbox.nsf/0/816d64935ee8842485256c680051b592?OpenDocument
but this don’t work for character in spanish, for example:
call SendString(“Á”)
Return a overflow error,
any solution??
thanks
Subject: RE: SendKey script library don’t work for spanish characters (áéíóúÁÉÍÓÚÚ…)
I wrote that library.
The problem is that characters like those don’t generally have single scan codes associated with them. Instead, they would be input with a combination of keys. So the function we use to translate a character into a scan code, fails.
I don’t know how to fix this; perhaps there’s a way to figure out the mapping of one character into multiple scan codes, but I don’t know what it is. Search the MS forums.
What are you trying to do? Perhaps there’s a way to do it that doesn’t require you send the characters to the keyboard queue, or by sending different ones (e.g. the control combination to paste, if you can get the information on the clipboard).
Subject: RE: SendKey script library don’t work for spanish characters (áéíóúÁÉÍÓÚÚ…)
We are using the “SendString” to enter a computed search query string into the “Search in View” text field so a View Search is performed. The query string is created based in a complex dialogbox that construct the FTSearch Query
it works really well and we have not had any problems with it, until now, i need to use this function to write this query (for example):
call SendString( |[Name] contains “Martín”| )
any charactar like áéíóúÁÉÍÓÚ don’t work and return overflow error,
thanks
Subject: RE: SendKey script library don’t work for spanish characters (áéíóúÁÉÍÓÚÚ…)
This free download database associated with this article: Views Part 1: User-Based Views and Query Assistant contains samples of ways to do this without using SendKeys (as well as with).
As I said, I don’t know how to fix SendKeys in this case. Different keyboards and different programs use different key combinations for non-ASCII characters, and if there’s a single general way to convert them into key-presses, I don’t know what it is.
I don’t get an overflow error when I try it. You could debug your application (Debugging Domino Applications part 1 and part 2) but just correcting the error will not solve your problem.