Results 1 to 6 of 6

Thread: How to do thi?

  1. #1
    Join Date
    Jan 2012
    Posts
    34
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Question How to do thi?

    Hi,

    How you say something like this in pascal:

    if color at place (x,y) is green then ...
    click tree

    and

    if bitmap is similar to bitmap on (x,y) then ...
    click axe

    Thanks in advance!

  2. #2
    Join Date
    Dec 2011
    Location
    Toronto, Ontario
    Posts
    6,424
    Mentioned
    84 Post(s)
    Quoted
    863 Post(s)

    Default

    Simba Code:
    Mouse(x,y,0,0,True); //True for right click, False for left click

  3. #3
    Join Date
    Jan 2012
    Posts
    34
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    Quote Originally Posted by S1N View Post
    Simba Code:
    Mouse(x,y,0,0,True); //True for right click, False for left click
    This is only the area to click but I need it to
    if this area is color green then
    do something

  4. #4
    Join Date
    Dec 2011
    Location
    Toronto, Ontario
    Posts
    6,424
    Mentioned
    84 Post(s)
    Quoted
    863 Post(s)

    Default

    [SIMBA]
    if FindObjCustom[your shit in here] then
    begin
    Mouse(x,y,0,0,True);
    end;

  5. #5
    Join Date
    Nov 2011
    Location
    Turn Around...
    Posts
    528
    Mentioned
    1 Post(s)
    Quoted
    44 Post(s)

    Default

    You could also use findobjTPA as well..good functions both of them

    Also YoHoJo, also has a great tut about it as well
    Last edited by hamster31; 01-26-2012 at 06:57 PM.
    We are all born ignorant, but one must work hard to remain stupid. - Benjamin Franklin

  6. #6
    Join Date
    Jan 2012
    Posts
    34
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    Thanks!

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
  •