jbennett Posted June 25, 2009 Share Posted June 25, 2009 (edited) Hi everyone, I have one other quick question. Does anyone know whether I can hide an installation of a program. I'm currently scripting the installation of a program (with controlclicks etc) and was wondering if I could hide this. Normally I would use switches (e.g. /passive and /quiet etc) but in this case it's not possible for me to do this. p.s. @SW_HIDE doesn't seem to be working. Thanks Regards, Jon Bennett Edited June 25, 2009 by jbennett Link to comment Share on other sites More sharing options...
nguyenbason Posted June 25, 2009 Share Posted June 25, 2009 p.s. @SW_HIDE doesn't seem to be working.@SW_HIDE with which function? Did you try this? ControlHide ( "title", "text", controlID ) UnderWorldVN- Just play the way you like it Link to comment Share on other sites More sharing options...
jbennett Posted June 25, 2009 Author Share Posted June 25, 2009 Below is an example of the basic idea of code. I'm not sure how I could hide this installation whilst still being able to automatically select the buttons. Thanks ShellExecute("c:\wzcline31.exe") WinWaitActive("WinZip Command Line Support Add-On 3.1 Setup", "Thank you for your interest in the WinZip") $ReturnedValue = ControlClick("WinZip Command Line Support Add-On 3.1 Setup", "", "&Setup") WinWaitActive("License Agreement and Warranty Disclaimer", "As with other software, the WinZip Command Line Support Add-On 3.1") $ReturnedValue = ControlClick("License Agreement and Warranty Disclaimer", "", "&Yes") WinWaitActive("WinZip Command Line Support Add-On 3.1 Setup", "Setup found a compatible version of WinZip") $ReturnedValue = ControlClick("WinZip Command Line Support Add-On 3.1 Setup", "", "&Yes") WinWaitActive("WinZip Command Line Support Add-On 3.1 Setup", "The WinZip Command Line Support Add-On has been") $ReturnedValue = ControlClick("WinZip Command Line Support Add-On 3.1 Setup", "", "&No Link to comment Share on other sites More sharing options...
jerem488 Posted June 25, 2009 Share Posted June 25, 2009 you can move your window => $pos = wingetpos(you window) winmove("your window", "", @desktopwidth+$pos[2]+10) Me I am doing like this... Qui ose gagneWho Dares Win[left]CyberExploit[/left] Link to comment Share on other sites More sharing options...
jbennett Posted June 25, 2009 Author Share Posted June 25, 2009 Thanks for the reply. I tried your idea but it doesn't seem to be working. I've pasted a sample piece of the code below. Do you have any ideas why it might not be working? Thanks ShellExecute("c:\WinZip65.wzmul") WinWaitActive("License Agreement and Warranty Disclaimer", "As with other software, WinZip is subject to WARRANTY DISCLAIMERS") $pos1 = wingetpos("License Agreement and Warranty Disclaimer", "As with other software, WinZip is subject to WARRANTY DISCLAIMERS") winMove("License Agreement and Warranty Disclaimer", "As with other software, WinZip is subject to WARRANTY DISCLAIMERS","",@DesktopWidth+$pos1[2]+10) $ReturnedValue = ControlClick("License Agreement and Warranty Disclaimer", "", "&Yes") Link to comment Share on other sites More sharing options...
jerem488 Posted June 25, 2009 Share Posted June 25, 2009 the error is in you winmove() line try this : ShellExecute("c:\WinZip65.wzmul") WinWaitActive("License Agreement and Warranty Disclaimer", "As with other software, WinZip is subject to WARRANTY DISCLAIMERS") $pos1 = wingetpos("License Agreement and Warranty Disclaimer", "As with other software, WinZip is subject to WARRANTY DISCLAIMERS") winMove("License Agreement and Warranty Disclaimer", "As with other software, WinZip is subject to WARRANTY DISCLAIMERS",@DesktopWidth+$pos1[2]+10) $ReturnedValue = ControlClick("License Agreement and Warranty Disclaimer", "", "&Yes") Qui ose gagneWho Dares Win[left]CyberExploit[/left] Link to comment Share on other sites More sharing options...
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