View Single Post
04-30-23, 04:42 AM   #3
AeroMaxxD
An Aku'mai Servant
Join Date: Dec 2022
Posts: 33
This is what I use right now to output the list contents to the frame.

I thought I would just use the same code but change the frame that was the output.

Lua Code:
  1. for k = ((15 - (CURRENT_PAGE * 15)) * -1) + 1, END, 1 do
  2.     print( "k", k ); -- For debugging.
  3.  
  4.     offset = offset - 20;
  5.     local dateString = AMD_Content:CreateFontString(nil, "OVERLAY", "GameFontNormalSmall");
  6.     dateString:SetPoint("TOPLEFT", AMD_TabOnCharacterFrame_History, 0, offset);
  7.  
  8.     local day = string.sub(SavesSorted[k], 0, 2);
  9.     local month = string.sub(SavesSorted[k], 3, 4);
  10.     local year = string.sub(SavesSorted[k], 5, 6);
  11.     if (CURRENT_DATE == day .. month .. year) then
  12.         dateString:SetText("Today")
  13.     else
  14.         dateString:SetText(day .. "." .. month .. "." .. year);
  15.     end
  16.     dateString:SetTextColor(1, 1, 1, 1);
  17.  
  18.     print(day, month, year); -- For debugging
  19. done

Last edited by AeroMaxxD : 04-30-23 at 05:19 AM.
  Reply With Quote