- #1
DaveC426913
Gold Member
- 23,151
- 6,825
- TL;DR Summary
- How can I write a script that will sit over top of another program and operate it? eg. data entry?
I have a data entry program in Windows 10 that has no API to interface with it directly.
I have a lot of data to enter manually, which is very slow.
Assuming I can get that data into a digital form and store it in a .CSV file or clipboard, how can I write a utility app that will sit over top of the data entry program and fill in the fields with the provided data - and with my guidance?
In DOS days, these were called TSRs (Terminate and Stay Resident). You would open your program and press a key sequence to activate the TSR, which would operate on the open program.
Example:
I have a dozen members, eg: #1 - Bob Smith, ID #23423; .
I manage to store that in a .CSV file or the clipboard (with appropriate record and field delimiters)
I open my data entry program to the "Add member" form.
I put the first field in focus and press a key.
The data is spewed into the field(s).
I manually advance to the next record in the application Or have my script program do that, by sending a Ctrl-F followed by some search criteria.
There's a lot more to how I want to go about this. Right now, I'm just trying to get the programmatic output of data from a file or clipboard.I don't want to do this in C# or C++ or Java or something else super-powerful and super-complex, if I can help it.
I have a lot of data to enter manually, which is very slow.
Assuming I can get that data into a digital form and store it in a .CSV file or clipboard, how can I write a utility app that will sit over top of the data entry program and fill in the fields with the provided data - and with my guidance?
In DOS days, these were called TSRs (Terminate and Stay Resident). You would open your program and press a key sequence to activate the TSR, which would operate on the open program.
Example:
I have a dozen members, eg: #1 - Bob Smith, ID #23423; .
I manage to store that in a .CSV file or the clipboard (with appropriate record and field delimiters)
I open my data entry program to the "Add member" form.
I put the first field in focus and press a key.
The data is spewed into the field(s).
I manually advance to the next record in the application Or have my script program do that, by sending a Ctrl-F followed by some search criteria.
There's a lot more to how I want to go about this. Right now, I'm just trying to get the programmatic output of data from a file or clipboard.I don't want to do this in C# or C++ or Java or something else super-powerful and super-complex, if I can help it.