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