Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > AutoIt
You last visited: Today at 22:45

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Help with _FFClick

Discussion on Help with _FFClick within the AutoIt forum part of the Coders Den category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Sep 2009
Posts: 7
Received Thanks: 0
Help with _FFClick

Hi, I'm looking for a code to simulate a click on a youtube page, to put like on opened video page, and other code to simulate a click on "subscribe" button. However i can't get the id of those elements to just use _FFClick (from the FF.au3 UDF)

If you know how to make those, help would be apreciated
The HTML code of the buttons is below:

Code:
<span class="">
  <button id="watch-like" class="yt-uix-button yt-uix-button-size-default yt-uix-button-text yt-uix-button-has-icon yt-uix-tooltip yt-uix-button-toggled" data-button-toggle="true" data-unlike-tooltip="Anular "gosto"" data-like-tooltip="Gosto disto" data-force-position="true" data-orientation="vertical" data-position="bottomright" title="Anular "gosto"" onclick=";return false;" type="button" style="outline: 1px solid blue;" data-tooltip-text="Anular "gosto"">
    <span class="yt-uix-button-icon-wrapper">
      <img class="yt-uix-button-icon yt-uix-button-icon-watch-like yt-sprite" alt="Gosto disto" src="https://s.ytimg.com/yts/img/pixel-vfl3z5WfW.gif">
    </span>
    <span class="yt-uix-button-content">Gosto </span>
  </button>
</span>
Code:
<span class="channel-header-subscription-button-container yt-uix-button-subscription-container with-preferences">
  <button class="yt-uix-button yt-uix-button-size-default yt-uix-button-subscribe-branded yt-uix-button-has-icon yt-uix-subscription-button yt-can-buffer" data-style-type="branded" data-sessionlink="feature=channels4&ved=CHwQmys&ei=F6vuU9WzA-OMiAahr4FQ" data-channel-external-id="UCoqaHX0F0ReYEfEzRD4UfrA" aria-live="polite" aria-busy="false" aria-role="button" onclick=";return false;" type="button">
    <span class="yt-uix-button-icon-wrapper">
      <img class="yt-uix-button-icon yt-uix-button-icon-subscribe yt-sprite" alt="" src="https://s.ytimg.com/yts/img/pixel-vfl3z5WfW.gif">
    </span>
    <span class="yt-uix-button-content">
      <span class="subscribe-label" aria-label="Subscrever">Subscrever</span>
      <span class="subscribed-label" aria-label="Anular subsc.">Subscrito</span>
      <span class="unsubscribe-label" aria-label="Anular subsc.">Anular subsc.</span>
    </span>
  </button>
 <button class="yt-uix-button yt-uix-button-size-default yt-uix-button-default yt-uix-button-empty yt-uix-button-has-icon yt-uix-subscription-preferences-button" data-channel-external-id="UCoqaHX0F0ReYEfEzRD4UfrA" aria-label="Preferências de subscrição" aria-live="polite" aria-busy="false" aria-role="button" onclick=";return false;" type="button">
 <span class="yt-subscription-button-subscriber-count-branded-horizontal subscribed" title="538">538</span>
 <span class="yt-subscription-button-disabled-mask" title=""></span>
 <div class="yt-uix-overlay " data-overlay-shape="tiny" data-overlay-style="primary">
</span>
Ps. i posted this already on Requests topic, but i don't know if it is the right place, and also most of the people there are talking only german, idk, just trying my luck here ^^'
Kardu is offline  
Reply


Similar Threads Similar Threads
Problem mit _FFCLICK _FFXPATH
09/10/2013 - AutoIt - 4 Replies
Hallo vieleicht kann ja wer Helfen bitte, ich hab nen Problem mit: <a id="belize3.de.battleofcrowns.com" class="playButton" href=""></a> ------------------------------------------------- ------------------- _FFClick(_FFXPath("/html/body/div/div/div/di v/div/table/tbody/tr/td/a", "", 9)) oder _FFClick(_FFXPath("//*"))



All times are GMT +1. The time now is 22:45.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.