au3scr Posted January 30, 2008 Posted January 30, 2008 Hi, i need help with control click. I cant find how i can click on Next buttoin in OOo setup here is a information about button and window >>>> Window <<<< Title: OpenOffice.org 2.3 - Installation Wizard Class: MsiDialogCloseClass Position: 365, 493 Size: 504, 379 Style: 0x14C80000 ExStyle: 0x00040100 >>>> Control <<<< Class: Button Instance: 5 ClassnameNN: Button5 ID: 4756 Text: &Next > Position: 306, 324 Size: 88, 22 ControlClick Coords: 58, 11 Style: 0x50032001 ExStyle: 0x00000000 >>>> Mouse <<<< Position: 732, 850 Cursor ID: 2 Color: 0xD4D0C8 >>>> StatusBar <<<< >>>> Visible Text <<<< sdkf &Organization: &Anyone who uses this computer (all users) Only for &me (sdkf) < &Back &Next > Cancel &User Name: BannerBmp OpenOffice.org 2.3 OpenOffice.org 2.3 Please enter your information. Customer Information Install this application for: >>>> Hidden Text <<<< &Serial Number: And here is my work Run (@ScriptDir & "\OOo_2.3.1_Win32Intel_install_wJRE_en-US.exe") WinWaitActive("OpenOffice.org 2.3 Installation Preparation") Send("n") WinWaitActive("OpenOffice.org 2.3 Installation Preparation") Send('{enter}') WinWaitActive("OpenOffice.org 2.3 - Installation Wizard") WinWaitActive("OpenOffice.org 2.3 - Installation Wizard") Send("n") WinWaitActive("OpenOffice.org 2.3 - Installation Wizard") Send("an") WinWaitActive("OpenOffice.org 2.3 - Installation Wizard") ControlClick("OpenOffice.org 2.3 - Installation Wizard","","[ TEXT:&Next >]") I need help with that last line,It must click on next button, but it dont do it Could some one helm me here? Thanks
Golbez Posted January 30, 2008 Posted January 30, 2008 why not just use click? you arnt using controlsend so... whats the use to use controlclick?
weaponx Posted January 30, 2008 Posted January 30, 2008 why not just use click? you arnt using controlsend so... whats the use to use controlclick? WTF does that have to do with anything? ControlClick("OpenOffice.org 2.3 - Installation Wizard", "[CLASSNN:Button5]")
au3scr Posted January 30, 2008 Author Posted January 30, 2008 then can you make example with controlsend ?
weaponx Posted January 30, 2008 Posted January 30, 2008 I hate watching people struggle through trying to automate an installation when most programs come with a silent install option.http://documentation.openoffice.org/faqs/i...lation/014.html
au3scr Posted January 30, 2008 Author Posted January 30, 2008 msiexec.exe /i openoffice.msi /qn TRANSFORMS=myTransform.mst i have *.exe file, not *.msi
weaponx Posted January 30, 2008 Posted January 30, 2008 For exe version:http://wiki.services.openoffice.org/wiki/D...tion_on_Windows
au3scr Posted January 30, 2008 Author Posted January 30, 2008 thanks again, do you know how install VLC silently?
weaponx Posted January 30, 2008 Posted January 30, 2008 thanks again, do you know how install VLC silently?I don't know what VLC is, Very Large Cat? Violet Lawnchair Cannon? Video Lan Client?http://jeroeneke.laptopvideo2go.com/XP/
Jeremiah Posted November 7, 2008 Posted November 7, 2008 I hate watching people struggle through trying to automate an installation when most programs come with a silent install option. http://documentation.openoffice.org/faqs/i...lation/014.html I agree, although new to AutoIT, I always try and find the silent install first. I however have an issue with a corporate installation. I am trying to click on I Accept on the License Agreement screen. Unfortunately, it is not I Accept. I have tried this line: ControlClick("Merlin Marketing System - InstallShield Wizard", "", "[CLASSN:Button;Text:I Accept;Instance:3]") And receive this error: AutoIT Error: Line -1: Error: Error parsing function call Any ideas?
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