From the wonderful RedGuides Wiki
This command is added by MacroQuest
Syntax Key
Notation |
Description
|
Text without brackets or braces |
Required items
|
<Text inside angle brackets> |
Placeholder for which you must supply a value
|
[Text inside square brackets] |
Optional items
|
Vertical bar (|) |
Separator for mutually exclusive items; choose one
|
{Text | inside | braces} |
Set of required items; choose one
|
Ellipsis (…) |
Items that can be repeated
|
Syntax
|
/invoke <command>
|
Description
|
Allows you to perform actions with special DataType members.
|
|
Options
Examples
/invoke ${Spawn[kaen].DoTarget}
: If spawn "kaen" is found, will target
/invoke ${Me.Buff[Cred].Remove}
: If a buff with the partial name "Cred" is found it will remove it
Dynamic list of available methods / actions
Parent |
Member |
Description |
achievement |
Inspect |
Opens the achievement display window for this achievement |
auratype |
Remove |
Removes aura |
bandolier |
Activate |
Activate the specified bandolier profile |
bazaaritem |
Select |
Allows you to select a bazaar item. /invoke ${Bazaar.Item[1].Select} |
buff |
Remove |
removes the specified buff |
character |
Dismount |
Dismounts the steed |
Sit |
Sits down |
Stand |
Stands up |
StopCast |
interrupts cast |
ground |
DoFace |
Will cause the toon to face the called for spawn if it exists |
DoTarget |
Will cause the toon to target the called for spawn if it exists |
Grab |
Picks up the ground spawn |
Reset |
|
item |
Inspect |
Opens the item display window for this item |
macro |
Undeclared |
List all undeclared variables |
menu |
Select |
Clicks a menu item. |
merchant |
Buy[#] |
Buys # of whatever is selected with Merchant.SelectItem[xxx] |
CloseWindow |
Will close the merchant window |
OpenWindow |
Will open the merchant closest to you, or if you have a merchant target |
SelectItem[xxx] |
Select item specified or partial match that fits. |
Sell[#] |
Sell # of whatever is selected with Command:/selectitem. See examples |
spawn |
DoAssist |
assists the spawn |
DoFace |
Faces spawn |
DoTarget |
targets spawn |
LeftClick |
left clicks the spawn |
RightClick |
Right clicks the spawn |
spell |
Inspect |
Open an inspect window for the spell |
switch |
Target |
Target the switch |
Toggle |
Toggle the switch |
Use |
|
task |
Select |
Selects the task. Can select list items and combobox items. |
timer |
Expire |
|
Reset |
Set |
tradeskilldepot |
SelectItem[name] |
Select an item with the given name |
WithdrawItem |
Withdraw the selected item from the window. If the item is a stack, a quantity window will appear. |
WithdrawItem[name] |
Withdraw the named item. If the item is a stack, it will create a quantity window. |
WithdrawStack |
Withdraw a full stack of the selected item. |
WithdrawStack[name] |
Withdraw a full stack of the named item. Prefix with "=" for exact. |
window |
DoClose |
Does the action of closing a window |
DoOpen |
Does the action of opening a window |
LeftMouseDown |
Does the action of clicking the left mouse button down |
LeftMouseHeld |
Does the action of holding the left mouse button |
LeftMouseHeldUp |
does the action of holding the left mouse button up |
LeftMouseUp |
Does the action of clicking the left mouse button up |
Move[x,y,width,height] |
Moves window to specified location and size. |
RightMouseDown |
does the action of clicking the right mouse button |
RightMouseHeld |
Does the action of holding the right mouse button |
RightMouseHeldUp |
Does the action of holding the right mouse button up |
RightMouseUp |
Does the action of clicking the right mouse button up |
Select |
Selects the specified window |
SetAlpha[0-255] |
Sets the alpha/opacity |
SetBGColor[argb] |
Sets the window color |
SetCurrentTab[#|name] |
If the window is a TabBox, set the current tab by index or by name. |
SetFadeAlpha[0-255] |
Sets the faded alpha/opacity |
SetText |
Set text to an edit box |
See also