Code: Select all
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
SetWorkingDir ..\ ; Makes the root folder \files
The second error is a message that says:
aakidprint is a font installed on the system. The message goes away if I change it to arial. The code is from a procedure suggested by just me from the old forum. What does it mean by "Too many fonts"? Thanks---------------------------
Test.ahk
---------------------------
Error: Too many fonts.
Line#
446: Step := 1.05
447: Else
448: Step := 0.95
449: Loop
449: {
450: CalcFS := Round(CalcFS * Step)
451: Gui,New
---> 452: Gui,Font,s%CalcFS% Bold,aakidprint
453: Gui,Add,Text,vCtrl,%txt%
454: GuiControlGet,Ctrl,Pos
455: Gui,Destroy
456: if (Step > 1)
456: {
457: if (CtrlW > fWd * max) || (CtrlH > fHt * max)
458: Break
The current thread will exit.
---------------------------
OK
---------------------------