Re: [NTLK] Newtonscript to change font/size

From: Paul Guyot (pguyot_at_kallisys.net)
Date: Wed Nov 27 2002 - 17:53:00 EST


À (At) 14:29 -0800 27/11/02, Jeremy Bond Shepherd écrivait (wrote) :
>Does anybody have a simple Newtonscript for changing the notepad's default
>font and size?

local theFontRecord := MakeCompactFont(<font family>, <font size>,
<font face>);
DefGlobalVar('nextStyle, theFontRecord);
SetUserConfig('userFont, theFontRecord);

According to some comment I put in alt.rec....'s source code, this is
not documented.

Paul

-- 
NPDS: http://newton.kallisys.net:8080/
Apache: http://www.kallisys.com/

-- This is the NewtonTalk list - http://www.newtontalk.net/ for all inquiries List FAQ/Etiquette/Terms: http://www.newtontalk.net/faq.html Official Newton FAQ: http://www.chuma.org/newton/faq/



This archive was generated by hypermail 2.1.2 : Mon Dec 02 2002 - 22:03:41 EST