1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

Need help with autohotkey

Discussion in 'All Other Software' started by sharpiemufc, Dec 27, 2010.

Thread Status:
Not open for further replies.
  1. sharpiemufc

    sharpiemufc Thread Starter

    Joined:
    Dec 27, 2010
    Messages:
    1
    Don't hate for this, I just want some honest help. :)

    I have recently downloaded autohotkey, and have created a successful like bot for youtube, however, when trying to create a subscriber bot, a problem arises.

    This is my code:

    PHP:
    WinWaitProgram Manager,  
    IfWinNotActiveProgram Manager, , WinActivateProgram Manager,  
    WinWaitActiveProgram Manager,  
    MouseClickleft,  1290,  66 
    MouseClick
    left,  1290,  66 
    Sleep
    100 
    WinWait
    Google Google Chrome,  
    IfWinNotActiveGoogle Google Chrome, , WinActivateGoogle Google Chrome,  
    WinWaitActiveGoogle Google Chrome,  
    MouseClickleft,  104,  69 
    Sleep
    100 
    WinWait
    YouTube Broadcast Yourself. - Google Chrome,  
    IfWinNotActiveYouTube Broadcast Yourself. - Google Chrome, , WinActivateYouTube Broadcast Yourself. - Google Chrome,  
    WinWaitActiveYouTube Broadcast Yourself. - Google Chrome,  
    MouseClickleft,  1136,  124 
    Sleep
    100 
    WinWait
    YouTube Google Chrome,  
    IfWinNotActiveYouTube Google Chrome, , WinActivateYouTube Google Chrome,  
    WinWaitActiveYouTube Google Chrome,  
    Send, [Youtube Username]{TAB}[Password]{ENTER
    WinWaitYouTube - [Youtube Username]'s YouTube - Google Chrome,  
    IfWinNotActive, YouTube - [Youtube Username]'
    s YouTube Google Chrome, , WinActivateYouTube - [Youtube Username]'s YouTube - Google Chrome,  
    WinWaitActive, YouTube - [Youtube Username]'
    s YouTube Google Chrome,  
    MouseClickleft,  445,  49 
    Sleep
    100 
    Send
    , {RIGHT}/[Channel to sub to]{ENTER
    WinWaitYouTube - [Channel to sub to]'s Channel - Google Chrome,  
    IfWinNotActive, YouTube - [Channel to sub to]'
    s Channel Google Chrome, , WinActivateYouTube - [Channel to sub to]'s Channel - Google Chrome,  
    WinWaitActive, YouTube - [Channel to sub to]'
    s Channel Google Chrome,  
    MouseClickleft,  474,  184 
    Sleep
    100 
    MouseClick
    left,  1122,  118 
    Sleep
    100 
    WinWait
    YouTube Broadcast Yourself. - Google Chrome,  
    IfWinNotActiveYouTube Broadcast Yourself. - Google Chrome, , WinActivateYouTube Broadcast Yourself. - Google Chrome,  
    WinWaitActiveYouTube Broadcast Yourself. - Google Chrome,  
    MouseClickleft,  120,  80 
    Sleep
    100
    This works fine, so long as I record (using AutoScriptWrite) clicking the "Subscribe" button.

    The problem is that when I change the username to someone else's, it does not click the subscribe button. Any help is greatly appreciated.
     
As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 733,556 other people just like you!

Loading...
Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/970963

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice