SeWeX Posted November 14, 2017 Posted November 14, 2017 So... I am making program that removes selected softwares. And for it I need AutoIt to know if there's specific software in the "add/remove programs" or "appwiz.cpl" but it seems like AutoIt can't find the text in the list. AutoIt Window Info in doesn't show the text either #RequireAdmin del_pspp() Func del_pspp() MsgBox(0, 0, "Pspp", 1) Run("C:\Windows\System32\control.exe appwiz.cpl") WinWaitActive("[CLASS:CabinetWClass]") Sleep(2000) ;~ find the program name "PSSP" from the list, if not, continue with next program If WinGetText("PSPP", "") Then Send("PSPP") Send("{ENTER}") WinWaitActive("[CLASS:#32770]") Send("!u") MsgBox(0,"", "Software Deleted",4) Else MsgBox(0,"Error", "Software not found", 5) Return EndIf EndFunc MsgBox(0,0,"Script Continues...")
Danyfirex Posted November 14, 2017 Posted November 14, 2017 Check this. Saludos Danysys.com AutoIt... UDFs: VirusTotal API 2.0 UDF - libZPlay UDF - Apps: Guitar Tab Tester - VirusTotal Hash Checker Examples: Text-to-Speech ISpVoice Interface - Get installed applications - Enable/Disable Network connection PrintHookProc - WINTRUST - Mute Microphone Level - Get Connected NetWorks - Create NetWork Connection ShortCut
jdelaney Posted November 14, 2017 Posted November 14, 2017 That app is filled in by registry data: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall HKLM\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall You can loop through those, and then not need to launch the application. IEbyXPATH-Grab IE DOM objects by XPATH IEscriptRecord-Makings of an IE script recorder ExcelFromXML-Create Excel docs without excel installed GetAllWindowControls-Output all control data on a given window.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now