Send Keyboard Values ??
-
I am creating a console app that starts NOTEPAD.EXE but then needs to emulate the user accessing the menu. I have started the process by using Process::Start("NOTEPAD.EXE"); Now I need to simulate a user pressing 'Alt F' to access the file menu - how do I achieve this ?? Pete
-
I am creating a console app that starts NOTEPAD.EXE but then needs to emulate the user accessing the menu. I have started the process by using Process::Start("NOTEPAD.EXE"); Now I need to simulate a user pressing 'Alt F' to access the file menu - how do I achieve this ?? Pete
Off the top of my head.... Use the non static version of Process::Start() so you have a Process object Call Process.MainWindowHandle() to get a handle to the window Then use Win32 functions or MFC to send messages to the window using the handle
System.IO.Path.IsPathRooted() does not behave as I would expect
-
Off the top of my head.... Use the non static version of Process::Start() so you have a Process object Call Process.MainWindowHandle() to get a handle to the window Then use Win32 functions or MFC to send messages to the window using the handle
System.IO.Path.IsPathRooted() does not behave as I would expect
Thanks Josh, See how we go..... Pete