?
Solved

SendKeys to another App

Posted on 1999-01-28
2
Medium Priority
?
153 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 400 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

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…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
Suggested Courses

801 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