Solved

Send Mouse and Executing a Batch file with paras?

Posted on 1998-12-22
1
131 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 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: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

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

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…
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…
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…

726 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