Hello all,
I am making a program in C# that will open a test document, use the SendKeys command to apply settings, then print the document.
Here is the SendKeys template I'm trying to use.
http://msdn.microsoft.com/en-us/library/ms171548.aspx
The problem is my program will open many file types (plans for docx, xlsx, pdf, and other), and setting up a different FindWindow before hand will be difficult.
I understand the SendKeys information for each application will be different.
Is there away to get the FindWindow information by using the file type or maybe the most recently started application?
I'm pretty new to this, hope I'm asking the right question.
Thanks,
-Jeremy