I’m using an automation: ‘Windows Script Host Object Model’.WshShell There is a method AppActivate used to activate for example the Navision client. Once active I can then use SendKeys to make things happen in Navision. My problem is that AppActivate does not activate Navision in Windows 2000, it only begins blinking in the taskbar. In Windows XP it works as expected, and the application will get into focus. Any input on how to use AppActivate in Windows 2000 would be extremeley interesting. Thanks Fredrik
You have to change a Registry value for changing that setting. I’m not sure if there is a dialog window where you can cofigure it from. Read this to see which key/value has to be changed, look for the Focus chapter: http://www.microsoft.com/mspress/books/sampchap/6232.asp
I love you Nelson Alberto! The registry can be updated with the RegWrite method.
quote:
I love you Nelson Alberto!
Hey, I was actually thinking of doing a bit of tourism in Sweden, but now… not anymore!!! I don’t want to step off the plane and have some Swedish guy kissing me, argh! [:p][:D][:D]
Ok, just let me know what you prefer and I’ll make sure you’ll have a good time if you come to Stockholm.
He-he, that’s more like it! [:)]