Jump to content

Recommended Posts

Posted

Hi!,

Just want a help for my macro, Im having a problem getting the exact coordinates of the color.

I mean.. Im coding it in 1024x768 size and the problem is when I use my program to other pc with different resolution my program wont work coz it cant find the color..

is there a way to just look for the color on specific window?? like for example I only want to get the color in a window mode game? thank you.

Posted (edited)

Make some test on different resolution. And when use your program detect this coords with macros @DesktopWidth and @DesktopHeight.

Edited by Andreik
Posted

Make some test on different resolution. And when use your program detect this coords with macros @DesktopWidth and @DesktopHeight.

already did that and failed..

actually the program is finished.. just having a problem using it on other pc.. and i dont want to search pixel coordinates again and again for different resolution y_y

Posted

The idea to use the user's desktop height and width is to have a reference point that you'll offset from or to. If the pixel is 50% from the left it'd be @DesktopWidth*0.5, but it'd be different values on different screen resolutions. Search and test.

Posted

Are you attempting to bot a game with a virtual PC

yup something like that.. but its for personal only. like when watching tv while grinding skills. anyway thank you for the info. I'll just test and test and test more. Thank you.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...