Answered VBE script not running in Windows 7

  • terça-feira, 1 de maio de 2012 03:52
     
     
    Hi friends ,

    Following script is working well in Windows XP but not in Windows 7 , can you please correct it.I am running this script in .vbe extention file.

    Set objShell = WScript.CreateObject("WScript.Shell")                        
    objShell.AppActivate("Yahoo! Mail: The best web-based email! - Microsoft Internet Explorer")
    objShell.SendKeys"%{enter}"

    Thanks and Regards

    Robbs

Todas as Respostas