WoW:API ClickSendMailItemButton: Difference between revisions

m
Move page script moved page API ClickSendMailItemButton to WoW:API ClickSendMailItemButton without leaving a redirect
(added info on /script command)
 
m (Move page script moved page API ClickSendMailItemButton to WoW: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__
Anonymous user