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
Solved

Send Mouse and Executing a Batch file with paras?

Posted on 1998-12-22
1
130 Views
Last Modified: 2010-04-04
How can i send the mouse pointer to certain cordinates on the screen and I have tryed repeatedly to execute a exe with paramiters. I want to execute a console app and dump it's output into a txt file to do that you have to execute it using -  console.exe >> Dump.txt  but i can't get delphi to run it like that? can any one help Me please?
0
Comment
Question by:cold17
1 Comment
 
LVL 17

Accepted Solution

by:
inthe earned 20 total points
ID: 1352623
hi,
to set cursor position use:
SetCursorPos(x,y);

  and have a look here http://www.delphidevelopers.com/
do a site search for redirector and download redir.zip below is a bit of info about it i think it will be of help to you.



TRedirector:  Starts Dos prompts or Dos applications, hidden or shown, redirects the output to, say a TMemo, and can also send keystrokes from Delphi to the Dos prompt or dos application. It´s very useful for controlling Command line utils like compilers or compressing tools.

Regards Barry
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

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
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…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

809 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