Help with _FFClick

08/16/2014 02:49 Kardu#1
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 :D
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 ^^'