We help IT Professionals succeed at work.

We've partnered with Certified Experts, Carl Webster and Richard Faulkner, to bring you a podcast all about Citrix Workspace, moving to the cloud, and analytics & intelligence. Episode 2 coming soon!Listen Now

x

How to send a character to an external editor?

andrzejf
andrzejf asked
on
Medium Priority
288 Views
Last Modified: 2010-04-05
Hi,
does anybody know how to send a character to an external application, I mean editors, comboboxes etc. The only thing which should be specified is where is the cursor in the active window of an external editor.
Thanks in advance..

Andrzejf
Comment
Watch Question

Commented:
hope this helps

http://www.experts-exchange.com/Programming/Programming_Languages/Delphi/Q_21763349.html

sendkeys can send Tab keys to move focus

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts

Author

Commented:
Everything works fine, thanks, but my main problem is to send a character. The 'sendkeys' procedure sends the keystrokes only and what if I had an international characters?

Commented:
procedure TSendkeys.SendKeysTo(WindowTitle : string; const text: String);

it sends a string
i don't know about international characters though... never work on it...
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.