Macro help needed menu

User Tag List

Results 1 to 4 of 4
  1. #1
    Fenryr's Avatar Member
    Reputation
    58
    Join Date
    Mar 2007
    Posts
    114
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Macro help needed

    Ok, i need help with a few macro/bot-related things so ill put them all here.

    how do i make a program that can

    1. Find a certain color on the screen and click on it, or at least output the coordinates. (for example if i wanted the program to click on every pixel that had a hex color code of 010000
    2. Move the cursor to a point on the screen (from x,y coordinates) and then click.
    3. Focus on a window using either the window text or preferrably process name, and send keys to it.
    4. use hotkeys,i want to be able to activate a function or sub through a hotkey

    Hopefully someone can answer these questions, +rep if you can

    edit: visual basic 2008 btw
    Last edited by Fenryr; 01-01-2009 at 05:01 PM.

    Macro help needed
  2. #2
    freakyflow's Avatar Contributor
    Reputation
    116
    Join Date
    Jan 2008
    Posts
    275
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    auto-it does all this.
    AutoIt Script Home Page

    or
    AutohotKey

    If you want to write your own from scratch Visual Basic is easiest most effective for what you want.
    Last edited by freakyflow; 01-01-2009 at 04:35 PM.

  3. #3
    Fenryr's Avatar Member
    Reputation
    58
    Join Date
    Mar 2007
    Posts
    114
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    i know auto-it does all of this, but i want to learn how to do it in visual basic, thanks anyway though.

  4. #4
    freakyflow's Avatar Contributor
    Reputation
    116
    Join Date
    Jan 2008
    Posts
    275
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Well to answer you more to help out. There are many different VB api's than can do the stuff your asking.

    1. This sounds like somewhat of a challenge to find ALL colors and click them, whats the point in that anyhow, seems confusing. For macro purposes it would be easier to use the "getpixel" command along with the " getdc" to co-ordinated a specific spot.

    2. This is easy using "getdc" or "GetCursorPos" and using "mouse_event" to control the mouse.

    3. Can use "GetWindow" or "EnumWindows" or "Findwindow" or "Getclass", as you can see there are many ways to do this.

    4. I'd look at the "RegisterHotKey" then just automate it using the keyboard or whatever.

    If your familiar with doing this in Auto-It it will be much easier to do, Id suggest you try it out and code a auto-it .exe from scratch to get the hang of it.

    cheers hope this helps.
    Last edited by freakyflow; 01-02-2009 at 02:03 PM.

Similar Threads

  1. 1.12 Poison Macro--HELP NEEDED!
    By testcharsdf in forum WoW UI, Macros and Talent Specs
    Replies: 1
    Last Post: 02-25-2017, 07:40 PM
  2. Need a ability spam macro, help ~
    By Icegrip in forum Diablo 3 Bots Questions & Requests
    Replies: 6
    Last Post: 07-25-2012, 06:38 PM
  3. [Macro} request, need help please. Prot warrior macro
    By macronoob in forum WoW UI, Macros and Talent Specs
    Replies: 3
    Last Post: 06-04-2012, 04:04 AM
  4. [MACRO] Switch, need help please!
    By Nyarly in forum WoW UI, Macros and Talent Specs
    Replies: 5
    Last Post: 04-18-2011, 11:05 PM
  5. [LUA/macro] Another "need help" thread, easy rep.
    By Ssateneth in forum WoW UI, Macros and Talent Specs
    Replies: 15
    Last Post: 11-26-2010, 06:04 AM
All times are GMT -5. The time now is 01:24 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search