Jump to content

Recommended Posts

Posted

I dont show ANY checkboxes on that link you posted

8)

In the center of the page there is a checkbox if you want to also install Google Toolbar. I want to uncheck that. Also below that you have to check the Terms of Service, but they are not in forms.

EndFuncAutoIt is the shiznit. I love it.
  • Moderators
Posted

@Val - You have to open it in IE, Firefox doesn't show the same.

Try this...

#include <IE.au3>

$sURL = "http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash&promoid=BIOW"

$oIE = _IECreate($sURL)
ConsoleWrite(_IEBodyReadHTML($oIE) & @CR)
$oToolbar = _IEGetObjByName($oIE, "ToolbarCheckbox")
$oTerms = _IEGetObjByName($oIE, "TermsCheckbox")
$oInstall = _IEGetObjByName($oIE, "InstallNow")

If $oToolbar.checked Then
    $oToolbar.checked = False
    $oToolbar.fireEvent ("onclick")
EndIf

If Not $oTerms.checked Then
    $oTerms.checked = True
    $oToolbar.fireEvent ("onclick")
EndIf

_IEAction($oInstall, "click")
Posted

@Val - You have to open it in IE, Firefox doesn't show the same.

Try this...

#include <IE.au3>

$sURL = "http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash&promoid=BIOW"

$oIE = _IECreate($sURL)
ConsoleWrite(_IEBodyReadHTML($oIE) & @CR)
$oToolbar = _IEGetObjByName($oIE, "ToolbarCheckbox")
$oTerms = _IEGetObjByName($oIE, "TermsCheckbox")
$oInstall = _IEGetObjByName($oIE, "InstallNow")

If $oToolbar.checked Then
    $oToolbar.checked = False
    $oToolbar.fireEvent ("onclick")
EndIf

If Not $oTerms.checked Then
    $oTerms.checked = True
    $oToolbar.fireEvent ("onclick")
EndIf

_IEAction($oInstall, "click")
Thanks that seems to work great. I appreciate it. I just couldn't get it. :)
EndFuncAutoIt is the shiznit. I love it.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...