sinbad Posted February 7, 2006 Share Posted February 7, 2006 Hello all, N00b here, just discovered this beautiful tool last night and must say it is very impressive. I'm trying to use AutoIt for Open Office 2.0 everything goes smooth untill I get: the Au3Info tool shows me the control as in the script: and my code for this part is: winWaitActive ("OpenOffice.org 2.0 - Installation Wizard", "File Type") ControlClick ( "OpenOffice.org 2.0 - Installation Wizard", "File Type", 4197 [, 1] [, 1]] ) Send("!N") I read in the help file: Note: AutoIt only works with standard Microsoft controls - some applications write their own custom controls which may look like a standard MS control but may resist automation. Experiment! Do you think this is the reason for the error i'm getting? (@ the end I used ControlCommand ( "OpenOffice.org 2.0 - Installation Wizard", "File Type", 4197, "Check", "" ) which did let me finish the script without errors but how do YOU go about choosing options when there is more than 2 options like in the following pic for example and the ControlID doesn't accepted? Thanks in advance. Link to comment Share on other sites More sharing options...
Xenobiologist Posted February 7, 2006 Share Posted February 7, 2006 winWaitActive ("OpenOffice.org 2.0 - Installation Wizard", "File Type") ControlClick ( "OpenOffice.org 2.0 - Installation Wizard", "File Type", 4197 , 1 , 1 ) Send("!N") Hi, the brackets are the problem. They´re only to show that its optional. So long, Mega Scripts & functions Organize Includes Let Scite organize the include files Yahtzee The game "Yahtzee" (Kniffel, DiceLion) LoginWrapper Secure scripts by adding a query (authentication) _RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...) Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc. MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times Link to comment Share on other sites More sharing options...
sinbad Posted February 7, 2006 Author Share Posted February 7, 2006 lol, /me feel stupid.I should have known this :"> thank you th.meger for your help. Link to comment Share on other sites More sharing options...
Xenobiologist Posted February 7, 2006 Share Posted February 7, 2006 lol, /me feel stupid.I should have known this :"> thank you th.meger for your help.No prob, that´s what a support forum is for Cu you soon, I guess...So long,Mega Scripts & functions Organize Includes Let Scite organize the include files Yahtzee The game "Yahtzee" (Kniffel, DiceLion) LoginWrapper Secure scripts by adding a query (authentication) _RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...) Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc. MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times 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