Guest Johannes Simon Posted June 15, 2004 Posted June 15, 2004 Hi,I am new to AutoIt and after wrinting simple scripts I now want to write one which does an unattended install of the google toolbar ( http://toolbar.google.com ). Unfortunately, the AutoIt Windows Spy does not show any button names other than for other windows. What can I do? (It does not show any text, too.)Johannes
bcording Posted June 15, 2004 Posted June 15, 2004 Try this little function... Func GoogleToolBar() If urldownloadtofile("http://toolbar.google.com/data/en/big/current/GoogleToolbarInstaller.exe", @Tempdir & "\google.exe") then runwait(@Tempdir & "\google.exe /q") FileDelete(@Tempdir & "\google.exe") EndIF EndFunc
Guest Guest Posted June 17, 2004 Posted June 17, 2004 Thanks. If I had known the /q switch... How did you find out?
bcording Posted June 17, 2004 Posted June 17, 2004 Trial and error...and also /q and /s are pretty standard for silent installs
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