Jump to content

Recommended Posts

Posted

Hello, I am kind of new to autoit. I am trying to make the bot go to a footaction.com link, and select a size. It opens the website, but the size button is not clicked. I am trying to make it click size 9.5 . Any help would be great!! Thanks (:

 

#include <IE.au3>
 
sleep(2.0)
    If String("$oButton.value") = "9.5" Then
        _IEAction($oButton, "click")
        EndIf

 

Posted
  On 3/2/2014 at 10:26 PM, Robertchr44 said:

 

Hello, I am kind of new to autoit. I am trying to make the bot go to a footaction.com link, and select a size. It opens the website, but the size button is not clicked. I am trying to make it click size 9.5 . Any help would be great!! Thanks (:

 

#include <IE.au3>
 
sleep(2.0)
    If String("$oButton.value") = "9.5" Then
        _IEAction($oButton, "click")
        EndIf

 

 

Welcome to the forum.

Please use the code tag when you post your code ,  look at "How to post code on the forum" ( click on link in my signature )

Signature beginning:
Please remember: "AutoIt"..... *  Wondering who uses AutoIt and what it can be used for ? * Forum Rules *
ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Codefor other useful stuff click the following button:

  Reveal hidden contents

Signature last update: 2023-04-24

Posted

#include <IE.au3>

$oIE = _IECreate ("http://www.footlocker.com/product/model:151967/sku:75420004/nike-air-foamposite-one-mens/silver/light-green/?cm=GLOBAL%20SEARCH%3A%20KEYWORD%20SEARCH")

#include <IE.au3>
If _IEPropertyGet($oIE, "9.5") Then
_IEAction($oSubmit, "click")
_IELoadWait($oIE)
endif

Posted

In IE Object there is no property named '9.5'

Try to use 

_IEFrameGetCollection()

Signature beginning:
Please remember: "AutoIt"..... *  Wondering who uses AutoIt and what it can be used for ? * Forum Rules *
ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Codefor other useful stuff click the following button:

  Reveal hidden contents

Signature last update: 2023-04-24

Posted
  On 3/3/2014 at 10:16 PM, mLipok said:

In IE Object there is no property named '9.5'

Try to use 

_IEFrameGetCollection()

#cs ----------------------------------------------------------------------------

 AutoIt Version: 3.3.10.2
 Author:         myName

 Script Function:
    Template AutoIt script.

#ce ----------------------------------------------------------------------------
#include <IE.au3>

$oIE = _IECreate ("http://www.footlocker.com/product/model:151967/sku:75420004/nike-air-foamposite-one-mens/silver/light-green/?cm=GLOBAL%20SEARCH%3A%20KEYWORD%20SEARCH")

#include <IE.au3>
If _IEPropertyGet ($oIE, "product_sizes") Then
_IEFrameGetCollection($oIE, "09.5")
_IEAction($oSubmit, "click")
_IELoadWait($oIE)
EndIf

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...