R
Ross
The following VB script (meant for Windows Scripting Host)
works perfectly in Windows 2000. It opens Notepad and then
opens the Save As window. However, in Windows XP, it
correctly opens Notepad but fails to open the Save As
window. Any suggestions.
set WshShell = WScript.CreateObject("WScript.Shell")
WshShell.Run "c:\windows\Notepad.exe"
WScript.Sleep 100
WshShell.AppActivate "Notepad"
WScript.Sleep 90
WshShell.SendKeys "^{S}"
works perfectly in Windows 2000. It opens Notepad and then
opens the Save As window. However, in Windows XP, it
correctly opens Notepad but fails to open the Save As
window. Any suggestions.
set WshShell = WScript.CreateObject("WScript.Shell")
WshShell.Run "c:\windows\Notepad.exe"
WScript.Sleep 100
WshShell.AppActivate "Notepad"
WScript.Sleep 90
WshShell.SendKeys "^{S}"