This Code:
Array (2,0) = "5"
$TokenCount=5
Array (2,1)="Account 1"
Array (2,2)="Account 2"
Array (2,3)="Account 3"
Array (2,4)="Account 4"
Array (2,5)="Account 5"
$LiveTokenArray=1
$Result="REMAINING BALANCES $_Newline User $_Tab $_Tab Full $_Tab Lite"
$CurrentUser = Sysinfo("gsakini;Other;ApiAccount")
While $LiveTokenArray<=$TokenCount
$LiveToken=Array(2,$LiveTokenArray)
GCSwapToken User=$LiveToken
$FullBalance = GcBalance("F")
$LiteBalance = GcBalance("L")
$Result=$Result+"$_Newline $LiveToken $_Tab $FullBalance $_Tab $LiteBalance"
$LiveTokenArray=$LiveTokenArray+1
Endwhile
GCSwapToken user=$CurrentUser
Pause msg=$Result
Produces an all new for 8.3 Dialog box, as per the attached file.
On clicking "Show Error", I get the explanation : "Cache download limit has been exceeded."
If I hit abort, it moves to the next token.
I've checked on my laptop, which is still running 8.2, and the Macro works fine without interruption, returning a message box at the end which shows any accounts which have reached the limit as having a balance of -1.
The above code (with mods to attribute balance to several variables) is used in all my API macros to prevent attempts to download via exhausted accounts
Array (2,0) = "5"
$TokenCount=5
Array (2,1)="Account 1"
Array (2,2)="Account 2"
Array (2,3)="Account 3"
Array (2,4)="Account 4"
Array (2,5)="Account 5"
$LiveTokenArray=1
$Result="REMAINING BALANCES $_Newline User $_Tab $_Tab Full $_Tab Lite"
$CurrentUser = Sysinfo("gsakini;Other;ApiAccount")
While $LiveTokenArray<=$TokenCount
$LiveToken=Array(2,$LiveTokenArray)
GCSwapToken User=$LiveToken
$FullBalance = GcBalance("F")
$LiteBalance = GcBalance("L")
$Result=$Result+"$_Newline $LiveToken $_Tab $FullBalance $_Tab $LiteBalance"
$LiveTokenArray=$LiveTokenArray+1
Endwhile
GCSwapToken user=$CurrentUser
Pause msg=$Result
Produces an all new for 8.3 Dialog box, as per the attached file.
On clicking "Show Error", I get the explanation : "Cache download limit has been exceeded."
If I hit abort, it moves to the next token.
I've checked on my laptop, which is still running 8.2, and the Macro works fine without interruption, returning a message box at the end which shows any accounts which have reached the limit as having a balance of -1.
The above code (with mods to attribute balance to several variables) is used in all my API macros to prevent attempts to download via exhausted accounts