ISXEQ2:eq2uipage (Data Type)
From ISMods Wiki
Contents |
[edit]
ISXEQ2 information for ISXEQ2:eq2uipage (Data Type) has moved
[edit]
Please see: http://eq2.isxgames.com/wiki for up-to-date content.
[edit]
Description
This DataType includes all of the data available to ISXEQ2 that is related to User Interface Pages. Many times, this refers to UI Windows; however, it is not restricted to that.
[edit]
Members
- eq2uielement Child[<ElementType>,<ElementName>]
- This data member returns an eq2uielement that is found within the eq2uipage that is of the type 'ElementType' and is of the name 'ElementName'. The 'ElementName' can also include the path to an element, if it's embedded within an xml file. (ie, ${EQ2UIPage[MainHUD,Persona].Child[button,Persona.MainPage.BioPage.EditButton])
Here are a listing of the possible "ElementTypes"
- Button - Text - Textbox - CheckBox - Page - Composite - Icon - DataSourceContainer - DynamicData - VolumePage - DataSource - List
The "ElementNames" and the path to them (if they're embedded) can be found in the xml file for the particular window. So, with the example given above for the Persona Window, that information was found in the file eq2ui_mainhud_persona.xml.
For a tutorial on using this member (along with the members of the 'eq2uielement' datatype), please see: EQ2UIElements Tutorial.
[edit]
Methods
[edit]
Returns
[edit]
Inherits
[edit]
Examples
- Finding Market/Broker Items: EQ2UIPage[Inventory,Market].Child[button,Market.CommandFindItems]:LeftClick
- echo ${EQ2UIPage[ProxyActor,Conversation].Child[composite,replies].NumChildren
- Checking a Value: echo ${EQ2UIPage[Inventory,Merchant].Child[checkbox,NoSaleCheckBox].IsChecked}
- Creating a Recipe: EQ2UIPage[Tradeskills,Tradeskills].Child[button,Tradeskills.Recipes.CreateButton]:LeftClick
- Accepting a quest: EQ2UIPage[RewardPack,RewardPack].Child[button,RewardPack.Accept]:LeftClick
- Accept a quest reward: EQ2UIPage[RewardPack,RewardPack].Child[button,RewardPack.Receive]:LeftClick
- NOTE: This only works reliably for single-item (or all-item) quest rewards. If your reward is multiple-choice, you must first select the item you wish to accept.
[edit]
