Wilson WindowWare Tech Support

WinBatch WinBatch+Compiler WebBatch
Home | Tech Database | Tech BBS | White Papers | Purchase


Using SendKeysTo to send Quotation Marks

Keywords:    Quotation Marks

Question:

How do I use sendkeys to send quotation mark characters? I really would like to find out if it can be done, as I need to do it. I've looked for something like a VB character code, but no luck.

Answer:

No problem. One easy overlooked fact is that Winbatch can process ALL THREE different type of quotes. Most of the examples show double quotes because they show up well in the documentation. All you have to do is begin and end the string with the same type of quote (single, double, or backquote ' " or` ).

So...

        Sendkey(`"`)
will send a double quote. A double quote surrounded by backquotes.
Article ID:   W13835
Filename:   Sending Quotation Marks.txt