Reputation: 1283
I am a junior at university and quite new to the .NET framework.
Currently at my work in IT, there is a certain process in which an employee checks a MS office file, opens x applications, one after the other, and copies y files and waits on z conditions, one by one.
This process is quite long and tedious and very prone to human error. As such, I was wondering if .NET allows for some application to script this given sample procedure:
open a program, input a string argument from an excel file, get the output of the program, paste the output of the program into another program, get the output of the 2nd program, open the output as a folder, etc
The user should do as little work as possible (supplying some file paths and log-in credentials once and pressing some Start button).
If so, if someone could recommend a few good libraries/API to look at, it would be much appreciated.
Thank you for your time.
edit 1: System.Diagnostic.Process seems to not handle argument passing very well
Upvotes: 1
Views: 167
Reputation: 3971
I think you could do that more easily with AutoIt.
.NET/c# isn't really suited for that task as others have already pointed out.
Upvotes: 2
Reputation: 4203
Try using Powershell, it is much better suited to what you are trying to do. Good place to start:
http://technet.microsoft.com/en-us/library/ee221102
Upvotes: 2