1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

eYoutubeMacros/eYoutubeExtractor - AutoIt script for database addition

Discussion in 'Black Hat SEO Tools' started by azxten, Sep 24, 2009.

  1. azxten

    azxten Junior Member

    Joined:
    Mar 6, 2009
    Messages:
    143
    Likes Received:
    109
    This is just a simple AutoIt script that will take a list of video IDs from eYoutubeExtractor and insert them into the eYoutubeMacros database using MDB browser.

    Files:

    eYoutubeMacros

    http://www.blackhatworld.com/blackh...bemacros-comment-spammer-account-creator.html

    eYoutubeExtractor

    http://tools.theelitist.net/products/eYoutubeExtractor/Script/

    MDB Browser

    http://download.cnet.com/MDB-Browser-and-Editor/3000-10254_4-10070578.html

    AutoIt V3

    http://www.autoitscript.com/autoit3/downloads.shtml

    Script

    PHP:
    HotkeySet ("{ESC}""Stop")

    While 
    1
        WinActivate
    ("Untitled""")
        
    Sleep(50)
        
    Send("+{RIGHT}+{RIGHT}+{RIGHT}+{RIGHT}+{RIGHT}+{RIGHT}+{RIGHT}+{RIGHT}+{RIGHT}+{RIGHT}+{RIGHT}^x")
        
    Sleep(50)
        
    WinActivate("MDB Browser""")
        
    Sleep(50)
        
    MouseClick("left"11010072)
        
    Sleep(50)
        
    MouseClick("left"11010071)
        
    Sleep(50)
        
    Send("^v{DOWN}{DOWN}{DOWN}")
        
    Sleep(50)
        
    WinActivate("Untitled""")
        
    Sleep(50)
        
    Send("{DEL}")
        
    Sleep(50)
    WEnd

    Func Stop 
    ()
            Exit 
    0
    EndFunc
    Save the script as whatever.au3 to run it. Pushing escape will quit the script.

    Instructions for use:

    Open data.mdb with MDB Browser and open the videos table.

    After installing AutoIt use the "AutoIt Window Info" program in your program files to get the X/Y coordinates of the "new entry" field for video ID (meaning where you can click and enter a new record).

    Edit the script MouseClick function to refer to the coordinates (first two values, in mine it's 110, 1007).

    Run eYoutubeExtractor in "List of IDs" mode. Copy the list of IDs into a new notepad document (note in the script it WinActivates based on "Untitled" for a new notepad, so make sure it's the only one open).

    Make sure the mouse cursor is at the start of the first video ID, it will shift+right button 11 times to highlight then cut, activate MDB, click where you've told it to, paste, push down to enter the record and start over again.

    This is a quickly hacked together script and it requires a little setup but it allows you to easily insert lots of video IDs into eYoutubeMacros. Enjoy.

    Oh and if the author of the eYoutube programs wants me to remove this for some reason just ask.
     
  2. BunThings

    BunThings Registered Member

    Joined:
    Jun 17, 2009
    Messages:
    91
    Likes Received:
    14
    Location:
    Toronto
    Home Page:
    Really complicated. Your using way to many "Sleep" - and you should convert that little script so at least its accessible by everyone and not bound to AutoIT
     
  3. joomador

    joomador Registered Member

    Joined:
    Aug 26, 2009
    Messages:
    98
    Likes Received:
    20
    Occupation:
    Student
    I agree.. far too complicated
     
  4. azxten

    azxten Junior Member

    Joined:
    Mar 6, 2009
    Messages:
    143
    Likes Received:
    109
    It is what it is. If it's too complicated don't use it...

    I'm 99% sure the author of the eYoutube stuff is implementing something like this anyway. Like I said it's a quick hack while waiting.

    Edit: Wow, that is really too confusing? Is there just zero level of programming skill around here? It's like a 10 line macro script!
     
    Last edited: Sep 24, 2009
  5. BunThings

    BunThings Registered Member

    Joined:
    Jun 17, 2009
    Messages:
    91
    Likes Received:
    14
    Location:
    Toronto
    Home Page:
    You wrote more for the instructions rather then the macro itself. I wasn't trying to be mean or anything rather then trying to help you out.

    And this isnt programming, get real.
     
  6. azxten

    azxten Junior Member

    Joined:
    Mar 6, 2009
    Messages:
    143
    Likes Received:
    109
    It's easier to tell someone to use the Window Info tool to get the X/Y coordinates then coding resizing the MDB browser and moving it to a specific location to be sure the mouse will click in the right spot. Especially on a script that will probably be worthless soon.

    I see your point though.. *goes back to adding hundreds of video IDs while AFK*
     
  7. BunThings

    BunThings Registered Member

    Joined:
    Jun 17, 2009
    Messages:
    91
    Likes Received:
    14
    Location:
    Toronto
    Home Page:
    There are ways to detect such things, without mouseclicks - then again the help file is to confusing right?

    BTW
    Code:
    [COLOR=#000000][COLOR=#0000bb]Send[/COLOR][COLOR=#007700]([/COLOR][COLOR=#dd0000]"+{RIGHT}+{RIGHT}+{RIGHT}+{RIGHT}+{RIGHT}+{RIGHT}+{RIGHT}^x"[/COLOR][COLOR=#007700])[/COLOR][/COLOR]
    Shouldnt it be ..
    Code:
    Send("+{END}")
    I dont use ruler0fall's "macros" but i'm guessing your trying to highlight a line?
     
    • Thanks Thanks x 1
  8. azxten

    azxten Junior Member

    Joined:
    Mar 6, 2009
    Messages:
    143
    Likes Received:
    109
    Now fix the X/Y coord stuff.
     
  9. BunThings

    BunThings Registered Member

    Joined:
    Jun 17, 2009
    Messages:
    91
    Likes Received:
    14
    Location:
    Toronto
    Home Page:
    I wouldnt know if it's a button field or what it is etc..
    You could use ControlSend, also PixelSearch.. depends on what would work for that situation, i personally have no idea what you're trying to get.

    Go through the help file, it's pretty amazing.