Making A Script To Automatically Add An Item to Cart For Shoe Releases

Discussion in 'AppleScript' started by NEEEED HELP, Apr 2, 2013.

  1. NEEEED HELP

    NEEEED HELP New Member

    Joined:
    Apr 2, 2013
    Messages:
    4
    Likes Received:
    0
    I am new to this, but have a general understanding. I was wondering if anyone could point me in the right direction to making a script which can do all these commands as soon as I click on the link (in safari). Just incase this matters the link is released at a certain time via twitter. Commands: Click Size 11.5, Click Add to cart This would most likely be for nike.com or other shoe websites such as footlocker. Thanks so much!!!:D (BTW the shoes sell out in a split second, so this is why I am trying to make it)
     
    NEEEED HELP, Apr 2, 2013
    #1
    1. Advertisements

  2. NEEEED HELP

    Kaveman VIP Member

    Joined:
    Nov 26, 2010
    Messages:
    3,559
    Likes Received:
    49
    Location:
    Westland, NZ
    Sorry, Safari AppleScript is limited to Loading Pages, Saving Pages and Printing. No clicking on Links.
     
    Kaveman, Apr 2, 2013
    #2
    1. Advertisements

  3. NEEEED HELP

    NEEEED HELP New Member

    Joined:
    Apr 2, 2013
    Messages:
    4
    Likes Received:
    0
    Is there anyway on a mac to make this script then? How can I do this?
     
    NEEEED HELP, Apr 3, 2013
    #3
  4. NEEEED HELP

    Kaveman VIP Member

    Joined:
    Nov 26, 2010
    Messages:
    3,559
    Likes Received:
    49
    Location:
    Westland, NZ
    If you can write a Cocoa App, using WebKit you can do this.
     
    Kaveman, Apr 3, 2013
    #4
  5. NEEEED HELP

    NEEEED HELP New Member

    Joined:
    Apr 2, 2013
    Messages:
    4
    Likes Received:
    0
    Ok I just downloaded Xcode Will this work for what you are talking about? Any idea were to start lol I have no idea
     
    NEEEED HELP, Apr 3, 2013
    #5
  6. NEEEED HELP

    Kaveman VIP Member

    Joined:
    Nov 26, 2010
    Messages:
    3,559
    Likes Received:
    49
    Location:
    Westland, NZ
    Yes, thats the tools, WebKit is the page stuff and DOM for the HTML, You will also need a good working knowledge of Objective-C, which is like the glue to put it all together.
     
    Kaveman, Apr 3, 2013
    #6
  7. NEEEED HELP

    NEEEED HELP New Member

    Joined:
    Apr 2, 2013
    Messages:
    4
    Likes Received:
    0
    just wondering before I attempt. Do you think this is a long hard project?
     
    NEEEED HELP, Apr 3, 2013
    #7
  8. NEEEED HELP

    Kaveman VIP Member

    Joined:
    Nov 26, 2010
    Messages:
    3,559
    Likes Received:
    49
    Location:
    Westland, NZ
    Yes. Do you have a lot of programming experience? are you familiar with DOM and HTML parsing?
     
    Kaveman, Apr 3, 2013
    #8
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.