Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: OFF TOPIC -- Windows bat file

RE: OFF TOPIC -- Windows bat file

From: Shockey, David <DShockey_at_jwrinc.com>
Date: Fri, 30 Jun 2000 14:57:13 -0500
Message-Id: <10544.111007@fatcity.com>


This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible.

------_=_NextPart_001_01BFE2CF.117681B0
Content-Type: text/plain;

        charset="iso-8859-1"

You can't do it with a normal script unless the application can be started from the command line and accept command line parameters.

It's possible to do what you want in Windows using a macro recorder. Be careful with these things though, they can be a security risk because they may record passwords in plain text.

The menu in your application should be accessible using the ALT key in combination with the first letter of the menu choice. Once in the menu you can move around using the arrow keys.  

Here is one macro recorder site, there are others.

http://www.macros.com/

-----Original Message-----
From: Wayne McGill [mailto:McGillWL_at_navair.navy.mil] Sent: Friday, June 30, 2000 12:30 PM
To: Multiple recipients of list ORACLE-L Subject: OFF TOPIC -- Windows bat file

I need some help in writing a Windows NT bat file. I am trying to open an application and get it to create a log file. I can do these steps manually but I am trying to automate the procedure.

I have written a bat-file which opens the application but at that point, I have to:
  Go under the "Printer" menu and select "Logs"   Click on "Retrieve Log Data" button
  Click on "Save to File" button
I would like to have my bat-file do all of that automatically.

I am speaking with the company that developed the application and they are telling me that I will have to manually create the log-file.

Does anyone know any tricks to do it otherwise? Is there a way to simulate mouse clicks with a bat-file or something similar?

The end result of this will be to automate the process of creating the log file and moving it from Windows NT to a Sun and using Pro*C to process the data and insert it into Oracle.

TIA Wayne McGill, McGillWL_at_navair.navy.mil

-- 
Author: Wayne McGill
  INET: McGillWL_at_navair.navy.mil

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).

------_=_NextPart_001_01BFE2CF.117681B0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2650.12">
<TITLE>RE: OFF TOPIC -- Windows bat file</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=3D2>You can't do it with a normal script unless the =
application can be started from the command line and accept command = line parameters.</FONT></P>
<P><FONT SIZE=3D2>It's possible to do what you want in Windows using a =
macro recorder.&nbsp; Be careful with these things though, they can be = a security risk because they may record passwords in plain text.&nbsp; =
</FONT></P>

<P><FONT SIZE=3D2>The menu in your application should be accessible =
using the ALT key in combination with the first letter of the menu = choice.&nbsp; Once in the menu you can move around using the arrow = keys.</FONT></P>
<P><FONT SIZE=3D2>&nbsp;</FONT>
<BR><FONT SIZE=3D2>Here is one macro recorder site, there are =
others.</FONT>
</P>

<P><FONT SIZE=3D2><A HREF=3D"http://www.macros.com/" =
TARGET=3D"_blank">http://www.macros.com/</A></FONT>
</P>

<P><FONT SIZE=3D2>-----Original Message-----</FONT>
<BR><FONT SIZE=3D2>From: Wayne McGill [<A =
HREF=3D"mailto:McGillWL_at_navair.navy.mil">mailto:McGillWL_at_navair.navy.mil=
</A>]</FONT>
<BR><FONT SIZE=3D2>Sent: Friday, June 30, 2000 12:30 PM</FONT>
<BR><FONT SIZE=3D2>To: Multiple recipients of list ORACLE-L</FONT>
<BR><FONT SIZE=3D2>Subject: OFF TOPIC -- Windows bat file</FONT>
</P>
<BR>

<P><FONT SIZE=3D2>I need some help in writing a Windows NT bat =
file.</FONT>
<BR><FONT SIZE=3D2>I am trying to open an application and get it =
to</FONT>
<BR><FONT SIZE=3D2>create a log file.&nbsp; I can do these steps =
manually</FONT>
<BR><FONT SIZE=3D2>but I am trying to automate the procedure.</FONT>
</P>

<P><FONT SIZE=3D2>I have written a bat-file which opens the =
application</FONT>
<BR><FONT SIZE=3D2>but at that point, I have to:</FONT>
<BR><FONT SIZE=3D2>&nbsp; Go under the &quot;Printer&quot; menu and =
select &quot;Logs&quot;</FONT>
<BR><FONT SIZE=3D2>&nbsp; Click on &quot;Retrieve Log Data&quot; =
button</FONT>
<BR><FONT SIZE=3D2>&nbsp; Click on &quot;Save to File&quot; =
button</FONT>
<BR><FONT SIZE=3D2>I would like to have my bat-file do all of that =
automatically.</FONT>
</P>

<P><FONT SIZE=3D2>I am speaking with the company that developed =
the</FONT>
<BR><FONT SIZE=3D2>application and they are telling me that I will =
have</FONT>
<BR><FONT SIZE=3D2>to manually create the log-file.</FONT>
</P>

<P><FONT SIZE=3D2>Does anyone know any tricks to do it =
otherwise?</FONT>
<BR><FONT SIZE=3D2>Is there a way to simulate mouse clicks with a =
bat-file</FONT>
<BR><FONT SIZE=3D2>or something similar?</FONT>
</P>

<P><FONT SIZE=3D2>The end result of this will be to automate the</FONT>
<BR><FONT SIZE=3D2>process of creating the log file and moving =
it</FONT>
<BR><FONT SIZE=3D2>from Windows NT to a Sun and using Pro*C to</FONT>
<BR><FONT SIZE=3D2>process the data and insert it into Oracle.</FONT>
</P>

<P><FONT SIZE=3D2>TIA</FONT>
</P>

<P><FONT SIZE=3D2>Wayne McGill, McGillWL_at_navair.navy.mil</FONT>
</P>

<P><FONT SIZE=3D2>-- </FONT>
<BR><FONT SIZE=3D2>Author: Wayne McGill</FONT>
<BR><FONT SIZE=3D2>&nbsp; INET: McGillWL_at_navair.navy.mil</FONT>
</P>

<P><FONT SIZE=3D2>Fat City Network Services&nbsp;&nbsp;&nbsp; -- (858) =
538-5051&nbsp; FAX: (858) 538-5051</FONT>
<BR><FONT SIZE=3D2>San Diego, =
California&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -- Public Internet = access / Mailing Lists</FONT>
<BR><FONT =
SIZE=3D2>---------------------------------------------------------------= -----</FONT>
<BR><FONT SIZE=3D2>To REMOVE yourself from this mailing list, send an =
E-Mail message</FONT>
<BR><FONT SIZE=3D2>to: ListGuru_at_fatcity.com (note EXACT spelling of =
'ListGuru') and in</FONT>
<BR><FONT SIZE=3D2>the message BODY, include a line containing: UNSUB =
ORACLE-L</FONT>
<BR><FONT SIZE=3D2>(or the name of mailing list you want to be removed =
from).&nbsp; You may</FONT>
Received on Fri Jun 30 2000 - 14:57:13 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US