View Full Version : (noob) How to check if something is in the right click menu
ragebugger
06-26-2012, 01:38 AM
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;
:bart:
Runaway
06-26-2012, 01:46 AM
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.
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.
Powered by vBulletin® Version 4.2.1 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.