Oferv
13 years agoSuper Contributor
Add/Remove programs window stays open,how to close it???
Hi,
two things,I'm using this (JS)code to remove program: http://support.smartbear.com/viewarticle//?aid=9012
1.in windows 7 there's no title/header for the add/remove programs window so it can't be identify so what i did in order solve that is to replce "Programs and Features" with "*",i'll be happy to have more reliable solution.
two things,I'm using this (JS)code to remove program: http://support.smartbear.com/viewarticle//?aid=9012
1.in windows 7 there's no title/header for the add/remove programs window so it can't be identify so what i did in order solve that is to replce "Programs and Features" with "*",i'll be happy to have more reliable solution.
var DUIView = Sys.Process("Explorer").Window("CabinetWClass", "Programs and Features", 1).Window("ShellTabWindowClass", "Programs and Features", 1).Window("DUIViewWndClassName", "", 1);
2. and more importnat for me right now is that after the application has been uninstall i want the add/remove window to get close.if someone can send me the code line that is closing this window i'll be very happy.
thanks