Results 1 to 6 of 6

Thread: How to detect what option comes up?

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

    Default How to detect what option comes up?

    So im working on a script(obviously...) and I run into a problem sometimes, the script sometimes misclicks and a box with "Cancel" shows up, without any of the options with it.
    How would I go about fixing this? I need to make the mouse move off the box if it detects the Cancel option...

  2. #2
    Join Date
    Feb 2007
    Location
    Colorado, USA
    Posts
    3,716
    Mentioned
    51 Post(s)
    Quoted
    624 Post(s)

    Default

    if the chooseoption sees ancel then move your mouse to 300,300,500,500 or something like that? so it's super random?
    The only true authority stems from knowledge, not from position.

    You can contact me via matrix protocol: @grats:grats.win or you can email me at the same domain, any user/email address.

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

    Default

    Ah but thats the thing, cancel is on every single option box...
    I need to find a way to make it only do that when it sees it on its own...
    I tried a bitmap but it doesn't work :c

  4. #4
    Join Date
    Feb 2007
    Location
    Colorado, USA
    Posts
    3,716
    Mentioned
    51 Post(s)
    Quoted
    624 Post(s)

    Default

    Quote Originally Posted by S1N View Post
    Ah but thats the thing, cancel is on every single option box...
    I need to find a way to make it only do that when it sees it on its own...
    I tried a bitmap but it doesn't work :c
    ohh I see what you mean

    maybe it looks for examine and cancel, if only cancel is there then it moves the mouse.. if both are there then it does the whatever else you wanted it to do
    The only true authority stems from knowledge, not from position.

    You can contact me via matrix protocol: @grats:grats.win or you can email me at the same domain, any user/email address.

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

    Default

    Quote Originally Posted by grats View Post
    ohh I see what you mean

    maybe it looks for examine and cancel, if only cancel is there then it moves the mouse.. if both are there then it does the whatever else you wanted it to do
    !!!
    I'll try this out asap <3
    Thanks a ton

  6. #6
    Join Date
    Feb 2007
    Location
    Colorado, USA
    Posts
    3,716
    Mentioned
    51 Post(s)
    Quoted
    624 Post(s)

    Default

    np, I think examine is on everything that is an actual item so that should work
    The only true authority stems from knowledge, not from position.

    You can contact me via matrix protocol: @grats:grats.win or you can email me at the same domain, any user/email address.

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
  •