Solved

SendKeys to another App

Posted on 1999-01-28
2
144 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
2 Comments
 
LVL 12

Accepted Solution

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

Cheers,

Raymond.
0
 
LVL 44

Expert Comment

by:bruintje
Comment Utility
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

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

744 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now