Haveskillz Posted May 26, 2006 Posted May 26, 2006 Opt("RunErrorsFatal", 0) Run("C:\Program Files\Lavasoft\Ad-Aware SE Personal\UNWISE.EXE", "", @SW_HIDE) dont hide why?
Moderators SmOke_N Posted May 26, 2006 Moderators Posted May 26, 2006 Why would you want to hide the uninstall window of yours/someones spyware program? Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.
MHz Posted May 26, 2006 Posted May 26, 2006 Programs may not obey the @SW_HIDE in the Run function. You can WinMove the window off screen to automate it with Control* functions. Run(@ProgramFilesDir & '\Lavasoft\Ad-Aware SE Personal\UNWISE.EXE "' & @ProgramFilesDir & '\Lavasoft\Ad-Aware SE Personal\INSTALL.LOG"') WinWait('Ad-Aware SE Personal') WinMove('Ad-Aware SE Personal', '', @DesktopWidth, 200) ; And the rest...
Haveskillz Posted May 26, 2006 Author Posted May 26, 2006 (edited) okay that helped abit ... but is it also possible to total HIDE it?.. so it also dont show it on your taskbar ? Edited May 26, 2006 by Haveskillz
Moderators SmOke_N Posted May 26, 2006 Moderators Posted May 26, 2006 (edited) its for something here "housekeep" ..okay that helped abit ... but is it also possible to total HIDE it?..so it also dont show it on your taskbar ?Edit:Throws the BS Flag... Edited May 26, 2006 by SmOke_N Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.
Haveskillz Posted May 26, 2006 Author Posted May 26, 2006 sorry, but i dont need your ass just an answer is enough thnx for givin me that offer anyways (a)
MHz Posted May 26, 2006 Posted May 26, 2006 Total hide, Nope. I can only do so much at this time of week. The rest... Run(@ProgramFilesDir & '\Lavasoft\Ad-Aware SE Personal\UNWISE.EXE "' & @ProgramFilesDir & '\Lavasoft\Ad-Aware SE Personal\INSTALL.LOG"') WinWait('Ad-Aware SE Personal') WinMove('Ad-Aware SE Personal', 'Select Uninstall Method', @DesktopWidth, 200) ControlClick('Ad-Aware SE Personal', 'Select Uninstall Method', 'Button1') WinWait('Ad-Aware SE Personal', 'Perform Uninstall') ControlClick('Ad-Aware SE Personal', 'Perform Uninstall', 'Button1')
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