Forum Discussion
YMinaev
13 years agoStaff
Hi,
If you're working with the list of installed programs in Windows, you just need to search it for the needed entry before trying to address it. For example:
Also, there's a way to uninstall applications without dealing with GUI. There's an example in TC's How To here. The script posted there uses WMI to find and remove applications which is faster and more reliable than clicking in the 'Programs and Features' list.
If you're working with the list of installed programs in Windows, you just need to search it for the needed entry before trying to address it. For example:
var list = Sys.Process("Explorer")./*lots of Explorer windows*/.Window("SysListView32", "FolderView");
var found = false;
for(var i = 0; i < list.wItemCount; i++)
if(list.wItem(i) == "App name")
{
found = true;
break;
}
if(found)
{
// some actions with the "App name" item
}
Also, there's a way to uninstall applications without dealing with GUI. There's an example in TC's How To here. The script posted there uses WMI to find and remove applications which is faster and more reliable than clicking in the 'Programs and Features' list.
Related Content
- 4 years ago
- 2 years ago
- 5 years ago
- 4 years ago