Solved

SendKeys to another App

Posted on 1999-01-28
2
151 Views
Last Modified: 2010-05-18
How can I send keystrokes to another app, I need to send the tab character to another app that my file works with,

How do i use the
SendMessage routine to send 1 tab to another app,
I have the Window handle, just don't know how to send the command.
0
Comment
Question by:JasonC
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 12

Accepted Solution

by:
rwilson032697 earned 100 total points
ID: 1363729
SendMessage(Handle, WM_CHAR, TheChar, 0);

Cheers,

Raymond.
0
 
LVL 44

Expert Comment

by:bruintje
ID: 1363730
If you got Delphi 4 look into the directory
delphi4/info/extras/sendkeys

else look here
http://www.ellipse-data.com/delphifaq/delphi_faq_1.html#2.5.24
or for an example
http://www.inprise.com/devsupport/delphi/qanda/FAQ1500D.html
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…

724 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question