Results 1 to 3 of 3

Thread: (noob) How to check if something is in the right click menu

  1. #1
    Join Date
    Jun 2012
    Posts
    23
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Smile (noob) How to check if something is in the right click menu

    How would I check if, say, "Examine Tree" were in the menu after right clicking a tree?

    I imagine I would somehow use Function GetChooseOptions(TextType: string): Array of TOptions;


  2. #2
    Join Date
    Jan 2008
    Location
    C:\
    Posts
    1,483
    Mentioned
    2 Post(s)
    Quoted
    2 Post(s)

    Default

    WaitOption('xamin', 1000); <- Will search for the option with the "xamin" string in it for 1000 ms and click it if found.

    WaitOptionMulti(['xami', 'mine', 'ree'], 1000); <- Same as above but will check for all of the specified strings.

  3. #3
    Join Date
    Jan 2012
    Posts
    2,568
    Mentioned
    35 Post(s)
    Quoted
    356 Post(s)

    Default

    I think what he mean is just a function that checks if the option "Examine Tree" exists, but not selecting it. Use OptionsExist(['the texts'], false) will return the boolean but not do anything (not even moving the mouse) about the option.

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
  •