Hmm, okay, the macro angle doesn't work. But then again I never use macros for stuff like that.
Okay, looks like you will have to use an addon even to just test this as you have to use a query function to get it to grab the information. Here's a block of code I used and it works in a simplistic way.
Code:
local tType, tName, itemLink, count, tab1, tab2, year, month, day, hour;
local function onEvent(self,event,...)
if ( event == "GUILDBANKFRAME_OPENED" ) then
for tab = 1,GetNumGuildBankTabs() do
QueryGuildBankLog(tab);
QueryGuildBankTab(tab);
for index = 1,GetNumGuildBankTransactions(tab) do
tType, tName, itemLink, count, tab1, tab2, year, month, day, hour = GetGuildBankTransaction(tab, index);
print(tab,index,tType, tName, itemLink, count, tab1, tab2, year, month, day, hour);
end
end
QueryGuildBankLog(GetNumGuildBankTabs()+1);
for index = 1, GetNumGuildBankMoneyTransactions() do
tType, tName, amount, years, months, days, hours = GetGuildBankMoneyTransaction(index);
print("Money",index,tType, tName, amount, year, month, day, hour);
end
end
end
local evFrame = CreateFrame("Frame","evFrame",UIParent);
evFrame:SetScript( "OnEvent", onEvent );
evFrame:RegisterEvent( "GUILDBANKFRAME_OPENED" );
Open the Guild Bank window to trigger the Query function. It doesn't use it straight away though so close the window and reopen and it should then display the print info lines. It's not perfect and you will probably need to tweak when to use the query function and transaction functions but its a start.