Jump to content

Copy a number on an image to a text field, help please


CySt
 Share

Recommended Posts

Just joined the forums, but I have been making little scripts for awhile now.

I am trying to have my script copy a number from an image then put that in a text field. I have searched around and am confused on how exactly I could do this.

The number images look like this Posted Image and they go from 0-9. Any advice and pointers would be a great help, thanks!

Link to comment
Share on other sites

Ok, so I have figured out how to have my script see how many pixels there are for the number on the image, how can i have my script send() the right number? like lets say an image with a 1 on it would have 5 pixels, how could i have it send a 1 once it knows that it has 5 pixels? any help is appreciated

Link to comment
Share on other sites

Ok, so I have everything working. I can get the number then have it typed. My problem is that there are 6 different images. I use _PixelGetColorCount() and I am only able to use a function once. What should I do?

EDIT: Nevermind, fixed it.

Edited by CySt
Link to comment
Share on other sites

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
 Share

  • Recently Browsing   0 members

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