Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: OFF TOPIC -- Windows bat file
The Microsoft ScriptIt Utility.
http://www.microsoft.com/NTServer/nts/deployment/custguide/scriptit3.asp
<http://www.microsoft.com/NTServer/nts/deployment/custguide/scriptit3.asp>
-----Original Message-----
From: Shockey, David [mailto:DShockey_at_jwrinc.com]
Sent: Friday, June 30, 2000 3:26 PM
To: Multiple recipients of list ORACLE-L
Subject: RE: OFF TOPIC -- Windows bat file
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/ <http://www.macros.com/>
-----Original Message-----
From: Wayne McGill [ mailto:McGillWL_at_navair.navy.mil
<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 mayReceived on Fri Jun 30 2000 - 17:57:02 CDT