Solved

SendKeys to another App

Posted on 1999-01-28
2
148 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
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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
add combobox item based on numbers 9 154
find a node in VST 2 73
FMX and jaudiotracker playing memory stream 29 87
scroll down TListBox component in Delphi 1 19
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

838 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