WoW:API ClickSendMailItemButton: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
(added info on /script command)
 
m (Move page script moved page API ClickSendMailItemButton to API ClickSendMailItemButton without leaving a redirect)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
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>
{{wowapi}}
<pre>
 
ClickSendMailItemButton();
Places or picks up an item from the send mail frame.  Can also clear an item rather than picking it up.
</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__

Latest revision as of 04:45, 15 August 2023

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[edit]

Arguments[edit]

([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)