Page 5 of 6 FirstFirst ... 3456 LastLast
Results 101 to 125 of 129

Thread: ACA[AutocolorAid] remake

  1. #101
    Join Date
    Aug 2013
    Posts
    9
    Mentioned
    0 Post(s)
    Quoted
    5 Post(s)

    Default

    real noob here... i just want to get the right numbers for my this line: "if FindColorTolerance(x, y, examplecolour, xs, ys, xe, ye, tol) then". i don't know shit about coding, so it would be great if anyone described to me what this line even means or just how i get the right values with the ACA program...
    Last edited by noodelz; 08-01-2013 at 11:00 AM.

  2. #102
    Join Date
    Apr 2012
    Posts
    157
    Mentioned
    10 Post(s)
    Quoted
    57 Post(s)

    Default

    Quote Originally Posted by noodelz View Post
    real noob here... i just want to get the right numbers for my this line: "if FindColorTolerance(x, y, examplecolour, xs, ys, xe, ye, tol) then". i don't know shit about coding, so it would be great if anyone described to me what this line even means or just how i get the right values with the ACA program...

    If - Begins a logical If statement, If x then y type deal. So if FindColorTolerance with the parameters comes back true, Then do the following code, that you'd type.

    FindColorTolerance - searches within the given parameters for a color, and returns true/false if it finds or doesn't.

    x, y - these are the coordinates that you give it, usually a variable X and Y that will store that data, so you could move your mouse to it later.

    exampleColour - as it sounds, this is the color value, which you can get from the color picker in simba.

    xs, ys - X Start, Y Start. these are the Top Left corner of the box you want to start your search in.
    xe, ye - X End, Y End. This would be for the bottom right corner, to complete y our box.

    Tolerance - this is a number that will make the search less strict on the color. A tolerance of 0 means EXACTLY the color. So if your color is 55678. It will search ONLY for 55678. But if your tolerance is say 10. It will search similar colors, and things like 55679, and 55677 would also come back as a positive match.

  3. #103
    Join Date
    Aug 2013
    Posts
    9
    Mentioned
    0 Post(s)
    Quoted
    5 Post(s)

    Default

    Quote Originally Posted by serajin View Post
    If - Begins a logical If statement, If x then y type deal. So if FindColorTolerance with the parameters comes back true, Then do the following code, that you'd type.

    FindColorTolerance - searches within the given parameters for a color, and returns true/false if it finds or doesn't.

    x, y - these are the coordinates that you give it, usually a variable X and Y that will store that data, so you could move your mouse to it later.

    exampleColour - as it sounds, this is the color value, which you can get from the color picker in simba.

    xs, ys - X Start, Y Start. these are the Top Left corner of the box you want to start your search in.
    xe, ye - X End, Y End. This would be for the bottom right corner, to complete y our box.

    Tolerance - this is a number that will make the search less strict on the color. A tolerance of 0 means EXACTLY the color. So if your color is 55678. It will search ONLY for 55678. But if your tolerance is say 10. It will search similar colors, and things like 55679, and 55677 would also come back as a positive match.
    great, thanks one last question, how do i find out wich nubers to put for the start and end line or how to find out how big my box is.

  4. #104
    Join Date
    May 2007
    Location
    England
    Posts
    4,140
    Mentioned
    11 Post(s)
    Quoted
    266 Post(s)

    Default

    Quote Originally Posted by noodelz View Post
    great, thanks one last question, how do i find out wich nubers to put for the start and end line or how to find out how big my box is.
    Open up Simba, target your client with the green crosshair tool, and you can see the current coordinates of your mouse in the bottom left of Simba, so all you need to do you is hover your mouse over the top left and bottom right corners of your box and record the coords.
    <3

    Quote Originally Posted by Eminem
    I don't care if you're black, white, straight, bisexual, gay, lesbian, short, tall, fat, skinny, rich or poor. If you're nice to me, I'll be nice to you. Simple as that.

  5. #105
    Join Date
    Oct 2011
    Posts
    207
    Mentioned
    1 Post(s)
    Quoted
    20 Post(s)

    Default

    ACA only gives me errors nothing else on dual monitors

  6. #106
    Join Date
    May 2012
    Location
    Moscow, Russia
    Posts
    661
    Mentioned
    35 Post(s)
    Quoted
    102 Post(s)

    Default

    What?
    Per aspera ad Astra!
    ----------------------------------------
    Slow and steady wins the race.

  7. #107
    Join Date
    Jun 2007
    Location
    The land of the long white cloud.
    Posts
    3,702
    Mentioned
    261 Post(s)
    Quoted
    2006 Post(s)

  8. #108
    Join Date
    Nov 2011
    Location
    England
    Posts
    3,072
    Mentioned
    296 Post(s)
    Quoted
    1094 Post(s)

    Default

    Quote Originally Posted by The Mayor View Post
    Hey Cynic, I'm not sure if you still update this, but when I select the SMART window with the crosshair it just goes black

    Expected, Dunno if this is designed to read DX & OpenGL colors.

  9. #109
    Join Date
    Jun 2007
    Location
    The land of the long white cloud.
    Posts
    3,702
    Mentioned
    261 Post(s)
    Quoted
    2006 Post(s)

    Default

    Quote Originally Posted by Olly View Post
    Expected, Dunno if this is designed to read DX & OpenGL colors.
    Ah I was thinking that, since it can grab pother windows fine. Looks like i'll just use version 2

  10. #110
    Join Date
    Apr 2013
    Location
    Top of a mountain
    Posts
    56
    Mentioned
    0 Post(s)
    Quoted
    29 Post(s)

    Default

    I recently made a little program in C# that allows you to slow down/orig speed your mouse with a keybind (toggle). I found it helped immensely when selecting individual pixels. I will try implement it in ACA with pascal if anyone is interested.

  11. #111
    Join Date
    May 2012
    Location
    Moscow, Russia
    Posts
    661
    Mentioned
    35 Post(s)
    Quoted
    102 Post(s)

    Default

    Quote Originally Posted by The Mayor View Post
    Ah I was thinking that, since it can grab pother windows fine. Looks like i'll just use version 2
    Oh! Ty for the report, I will fix it soon
    Per aspera ad Astra!
    ----------------------------------------
    Slow and steady wins the race.

  12. #112
    Join Date
    May 2012
    Location
    Moscow, Russia
    Posts
    661
    Mentioned
    35 Post(s)
    Quoted
    102 Post(s)

    Default

    Updated. The few bugs fixed, the dx apps grabbing added.
    Per aspera ad Astra!
    ----------------------------------------
    Slow and steady wins the race.

  13. #113
    Join Date
    Jun 2007
    Location
    The land of the long white cloud.
    Posts
    3,702
    Mentioned
    261 Post(s)
    Quoted
    2006 Post(s)

  14. #114
    Join Date
    Oct 2013
    Location
    East Coast USA
    Posts
    770
    Mentioned
    61 Post(s)
    Quoted
    364 Post(s)

    Default

    Quote Originally Posted by CynicRus View Post
    Updated. The few bugs fixed, the dx apps grabbing added.
    Thanks for the update.

    When I click one of the colors in my list on the right it doesn't display it in the detail window.

    I know you put the zoom thing in the detail box but I still have a hard time selecting the pixels I want. A zoom for the main screen would be awesome.

  15. #115
    Join Date
    Jun 2007
    Location
    The land of the long white cloud.
    Posts
    3,702
    Mentioned
    261 Post(s)
    Quoted
    2006 Post(s)

    Default

    Quote Originally Posted by bonsai View Post
    Thanks for the update.

    When I click one of the colors in my list on the right it doesn't display it in the detail window.
    I already requested this. He's going to add it

  16. #116
    Join Date
    May 2012
    Location
    Moscow, Russia
    Posts
    661
    Mentioned
    35 Post(s)
    Quoted
    102 Post(s)

    Default

    @The Mayor; - i've done this suggestion, an attachment updated
    Per aspera ad Astra!
    ----------------------------------------
    Slow and steady wins the race.

  17. #117
    Join Date
    Jun 2007
    Location
    The land of the long white cloud.
    Posts
    3,702
    Mentioned
    261 Post(s)
    Quoted
    2006 Post(s)

  18. #118
    Join Date
    Feb 2009
    Location
    inside Hello World! Application
    Posts
    232
    Mentioned
    0 Post(s)
    Quoted
    8 Post(s)

    Default

    Bump this, Will help with small test projects for the future!
    I'm not a lesser Being imma Lesser demon


    http://i.imgur.com/faGr0.png << First Script With Paint. Good First proggy? exp 21k/hr is ok pretty buggy

  19. #119
    Join Date
    Jan 2007
    Location
    East Coast, USA
    Posts
    138
    Mentioned
    0 Post(s)
    Quoted
    38 Post(s)

    Default

    Why am I only now learning of this & CTS3?
    I use dynamic interfaces in RS, and I noticed it doesn't mark pixels beyond the width of 900.

  20. #120
    Join Date
    Jan 2012
    Posts
    27
    Mentioned
    0 Post(s)
    Quoted
    7 Post(s)

    Default

    Code:
    Error: Unknown declaration "MSCX" at line 41
    Compiling failed.
    Error: Unknown declaration "GetColorToleranceSpeed" at line 38
    Compiling failed.
    OUTDATED ?
    Last edited by selgius7; 12-21-2014 at 05:09 PM.

  21. #121
    Join Date
    May 2012
    Location
    Moscow, Russia
    Posts
    661
    Mentioned
    35 Post(s)
    Quoted
    102 Post(s)

    Default

    Quote Originally Posted by selgius7 View Post
    Code:
    Error: Unknown declaration "MSCX" at line 41
    Compiling failed.
    Error: Unknown declaration "GetColorToleranceSpeed" at line 38
    Compiling failed.
    OUTDATED ?
    Nop, just the codegen is available only for PS. When I write that tool, the PS was the default. Also it generate the code for SRL5

    If somebody will make the new snippet for SRL6 - I will update the tool.
    Per aspera ad Astra!
    ----------------------------------------
    Slow and steady wins the race.

  22. #122
    Join Date
    Oct 2011
    Posts
    805
    Mentioned
    21 Post(s)
    Quoted
    152 Post(s)

    Default

    @CynicRus

    Is it outdated?

    I doesn't work properly. Here when I added colors from 2 crimsons and pushed "mark best color" button, it marked only one of them.



    Also it has huge memory leak.

  23. #123
    Join Date
    Nov 2015
    Location
    Earth
    Posts
    2
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Had to update some old scripts from years ago.
    Not sure why it took me so long to find this! Great tool thanks.

  24. #124
    Join Date
    Feb 2015
    Posts
    48
    Mentioned
    0 Post(s)
    Quoted
    12 Post(s)

    Default

    I don't know if this is still in development but when using the crosshair tool, I instantly get the error:

    Access violation.

    Press OK to ignore and risk data corruption.
    Press Cancel to kill the program.

    This happens with both versions Windows & *nix. I used the files you attached with this post not those on github.

  25. #125
    Join Date
    Feb 2013
    Location
    The Boonies
    Posts
    203
    Mentioned
    9 Post(s)
    Quoted
    70 Post(s)

    Default

    Quote Originally Posted by symbiosis View Post
    I don't know if this is still in development but when using the crosshair tool, I instantly get the error:

    Access violation.

    Press OK to ignore and risk data corruption.
    Press Cancel to kill the program.

    This happens with both versions Windows & *nix. I used the files you attached with this post not those on github.
    This sometimes happened for me as well back when I used this version, it usually happened if ACA was open for a long time or something - also, I've heard around the campfire that this version isn't accurate anyways and that you should still use v2 from way back.

Page 5 of 6 FirstFirst ... 3456 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •