View Single Post
11-13-09, 08:31 PM   #2
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,917
Rofl, I used to do that on a daily basis and never even thought of making an addon for it. Too late now as I don't play WoW anymore. Theoretically I think it is possible but not sure if it is easy to do if it is possible.

Then again, looking at wowwiki I don't think there is a function to grab an item out of the bank slot. You can count how many items you have including in the bank but doesn't look like there is a function to grab the items.

BankButtonIDToInvSlotID(buttonID, isBag) - Returns the ID number of a bank button or bag in terms of inventory slot ID.
CloseBankFrame() - Close the bank frame if it's open.
GetBankSlotCost(numSlots) - Returns the cost of the next bank slot.
GetNumBankSlots() - Returns total purchased bank bag slots, and a flag indicating if it's full.
PurchaseSlot() - Buys another bank slot if available.
As you can see none of these functions tells you what is in a slot let alone how to grab it out. All we can say is you have 10 of those items all in the bank so go get it quick
__________________
  Reply With Quote