Hi,
I am trying to develop a windows batch file /vbscript, where the script automatically opens an .exe (like for ex: notepad.exe) and selects the file menu and scroll to a particular file menu subitem .
This is the code i have so far :
Set WshShell = WScript.CreateObject("WScript.Shell")
WshShell.Run "notepad"
WScript.Sleep 500 ' Give Notepad some time to load
WshShell.SendKeys "%f"
Now, how would i proceed for selecting a sub menu item in File menu ( for ex : pagesetup) .
Any help would highly be appreciated.
-Thanks