?
Solved

Send Mouse and Executing a Batch file with paras?

Posted on 1998-12-22
1
Medium Priority
?
133 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
[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
1 Comment
 
LVL 17

Accepted Solution

by:
inthe earned 80 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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

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…
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…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
Suggested Courses
Course of the Month10 days, 4 hours left to enroll

762 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