I still do a great deal in the console and often need to enlarge it to clearly display the output. I use the following as an example to get the screen res and to set the console size...
 Code:
Global $LOG,$RES[1],$LC
$=ScrnRes()
If $RES[0]=0 ;No WMI
 $RES[0]=120
 $RES[1]=40
Endif
$Log='CON'
$E=Logit($Log,'This could be a very long bit of data which I need to display')
$E=Logit($Log,'Often the output is many lines of data which needs proofing at the console rather than just output to file.')


 Code:
FUNCTION LOGIT($File,$Data)
If $File='CON'
 If $LC=0
  shell '%comspec% /c mode CON cols='+$RES[0]+' lines='+2*Int($RES[1]/3)
  $=SETCONSOLE("MAXIMIZE")
 Endif
 If len($Data)>$RES[0]
  $LC=$LC+int(len($Data)/$RES[0])+1
 Else
  $LC=$LC+1
 Endif
 ? $DATA
Else
 If open(7,$File,5)=0
  $=Writeline(7,$Data+@crlf)
  $=Close(7)
 Else
  $Logit=9
  Exit $Logit
 Endif
Endif
ENDFUNCTION

Function ScrnRes()
Dim $objWMIService,$colItems,$objItem,$HT,$WI,$COL,$LIN
 $objWMIService = GetObject("Winmgmts:\\.\root\cimv2")
 $colItems = $objWMIService.ExecQuery("Select * From Win32_DesktopMonitor where DeviceID = 'DesktopMonitor1'",,0)
 For Each $objItem in $colItems
  $WI = $objItem.ScreenWidth
  $HT = $objItem.ScreenHeight
 Next
 ;Estimate Max Console Size based on default 8x12 font and 10+10x10+30 frame borders
 $RES[0]=int(($WI-20)/8)
 $RES[1]=int(($HT-40)/12)
EndFunction


I have a frustration that I don't generally want to maximise the console to fill the screen unless necessary. If I use the shell MODE option to re-size the console it will WIPE any existing content. Similarly I have so far been unable to find a standard WMI or similar method to read the default settings for the Console i.e. Shell 'MODE CON:' and the font size in use.
I have been forced to make general assumptions as to 8x12 font and the windows styles.
As I often only have the wkix32.exe to play with, no kix#.dll I would need to query readily available windows resources for the necessary information.

Anyone know how to read and or change on the fly the Console settings without wiping the content (buffer) ?