Solved

Send Mouse and Executing a Batch file with paras?

Posted on 1998-12-22
1
127 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Delphi XE10 Round Image 2 79
find a node in VST 2 64
Performance of SQL statement 37 101
TEMBEDDEDWB how can i change its user agent ? 8 50
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…
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…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.

863 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

27 Experts available now in Live!

Get 1:1 Help Now