WoW:API ClickSendMailItemButton: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
(cat)
No edit summary
Line 1: Line 1:
{{wowapi}}
{{wowapi}}
If you have the 'Send Mail' window open and have the item icon of an item you are sending in the slot next to 'Amount to Send', then it will attach the button to your mouse cursor.<br>
 
<pre>
Places or picks up an item from the send mail frame.  Can also clear an item rather than picking it up.
ClickSendMailItemButton();
 
</pre>
ClickSendMailItemButton([itemIndex, [clearItem]])
 
== Parameters ==
=== Arguments ===
:([itemIndex, [clearItem]])
 
:;itemIndex : Integer - The index of the item (1-ATTACHMENTS_MAX_SEND(12))
 
:;clearItem : Boolean - Clear the item already in this slot. (Done by right clicking an item)
 
----
__NOTOC__

Revision as of 03:25, 17 November 2007

WoW API < ClickSendMailItemButton

Places or picks up an item from the send mail frame. Can also clear an item rather than picking it up.

ClickSendMailItemButton([itemIndex, [clearItem]])

Parameters

Arguments

([itemIndex, [clearItem]])
itemIndex
Integer - The index of the item (1-ATTACHMENTS_MAX_SEND(12))
clearItem
Boolean - Clear the item already in this slot. (Done by right clicking an item)