<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: JSL Function for resizing all font sizes in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/JSL-Function-for-resizing-all-font-sizes/m-p/407464#M65749</link>
    <description>&lt;P&gt;On windows this will work. Not sure about Mac.&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Main Menu( "Increase Font Sizes" );
Main Menu( "Decrease Font Sizes" );&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;It is hiding under Window-&amp;gt;Font Sizes and is the same as ctrl-shift-plus/minus.&lt;/P&gt;</description>
    <pubDate>Thu, 05 Aug 2021 20:06:25 GMT</pubDate>
    <dc:creator>Craige_Hales</dc:creator>
    <dc:date>2021-08-05T20:06:25Z</dc:date>
    <item>
      <title>JSL Function for resizing all font sizes</title>
      <link>https://community.jmp.com/t5/Discussions/JSL-Function-for-resizing-all-font-sizes/m-p/407260#M65729</link>
      <description>&lt;P&gt;Hi, is there any JSL function for increasing/decreasing font size shortcut(CTRL + SHIFT + Plus/Minus)?&amp;nbsp;Thank you!&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2023 19:54:06 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JSL-Function-for-resizing-all-font-sizes/m-p/407260#M65729</guid>
      <dc:creator>Arthur</dc:creator>
      <dc:date>2023-06-09T19:54:06Z</dc:date>
    </item>
    <item>
      <title>Re: JSL Function for resizing all font sizes</title>
      <link>https://community.jmp.com/t5/Discussions/JSL-Function-for-resizing-all-font-sizes/m-p/407311#M65735</link>
      <description>&lt;P&gt;The font sizes are controlled via JMP preferences.&amp;nbsp; One should be able to do what you want&amp;nbsp; &amp;nbsp;Here is one version of such a function&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );

setPrefs = Function( {increase},
	{defaultlocal},
	prefs = Char( Get Preferences( fonts ) );
	s1 = Num( Word( 3, Substr( prefs, Contains( prefs, "Text Font(" ) ), "()," ) ) + increase;
	s2 = Num( Word( 3, Substr( prefs, Contains( prefs, "Heading Font(" ) ), "()," ) ) + increase;
	s3 = Num( Word( 3, Substr( prefs, Contains( prefs, "Title Font(" ) ), "()," ) ) + increase;
	s4 = Num( Word( 3, Substr( prefs, Contains( prefs, "Small Font(" ) ), "()," ) ) + increase;
	s5 = Num( Word( 3, Substr( prefs, Contains( prefs, "Monospaced Font(" ) ), "()," ) )
	+increase;
	s6 = Num( Word( 3, Substr( prefs, Contains( prefs, "Formula Font(" ) ), "()," ) ) + increase;
	s7 = Num( Word( 3, Substr( prefs, Contains( prefs, "Annotation Font(" ) ), "()," ) )
	+increase;
	s8 = Num( Word( 3, Substr( prefs, Contains( prefs, "Axis Font(" ) ), "()," ) ) + increase;
	s9 = Num( Word( 3, Substr( prefs, Contains( prefs, "Marker Font(" ) ), "()," ) ) + increase;
	s10 = Num( Word( 3, Substr( prefs, Contains( prefs, "Axis Title Font(" ) ), "()," ) )
	+increase;
	s11 = Num( Word( 3, Substr( prefs, Contains( prefs, "Graph Label(" ) ), "()," ) ) + increase;
	s12 = Num( Word( 3, Substr( prefs, Contains( prefs, "Legend(" ) ), "()," ) ) + increase;
	s13 = Num( Word( 3, Substr( prefs, Contains( prefs, "Graph Title(" ) ), "()," ) ) + increase;
	s14 = Num( Word( 3, Substr( prefs, Contains( prefs, "Caption(" ) ), "()," ) ) + increase;
	s15 = Num( Word( 3, Substr( prefs, Contains( prefs, "Data Table Font(" ) ), "()," ) )
	+increase;
	s16 = Num( Word( 3, Substr( prefs, Contains( prefs, "Control Font(" ) ), "()," ) )
	+increase;
	s17 = Num( Word( 3, Substr( prefs, Contains( prefs, "Control Small Font(" ) ), "()," ) )
	+increase;

	Eval(
		Substitute(
				Expr(
					Preferences(
						Text Font( "Segoe UI", __s1 ),
						Heading Font( "Segoe UI", __s2, "Bold" ),
						Title Font( "Segoe UI", __s3, "Bold" ),
						Small Font( "Segoe UI", __s4 ),
						Monospaced Font( "Consolas", __s5 ),
						Formula Font( "Segoe UI", __s6 ),
						Annotation Font( "Segoe UI", __s7 ),
						Axis Font( "Segoe UI", __s8 ),
						Marker Font( "Segoe UI", __s9 ),
						Axis Title Font( "Segoe UI", __s10 ),
						Graph Label( "Segoe UI", __s11 ),
						Legend( "Segoe UI", __s12 ),
						Graph Title( "Segoe UI", __s13, "Bold" ),
						Caption( "Segoe UI", __s14 ),
						Data Table Font( "Segoe UI", __s15 ),
						Control Font( "Segoe UI", __s16 ),
						Control Small Font( "Segoe UI", __s17 )
					)
				),
			Expr( __s1 ), s1,
			Expr( __s2 ), s2,
			Expr( __s3 ), s3,
			Expr( __s4 ), s4,
			Expr( __s5 ), s5,
			Expr( __s6 ), s6,
			Expr( __s7 ), s7,
			Expr( __s8 ), s8,
			Expr( __s9 ), s9,
			Expr( __s10 ), s10,
			Expr( __s11 ), s11,
			Expr( __s12 ), s12,
			Expr( __s13 ), s13,
			Expr( __s14 ), s14,
			Expr( __s15 ), s15,
			Expr( __s16 ), s16,
			Expr( __s17 ), s17
		)
	);
);

setPrefs( 1 );&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 05 Aug 2021 14:59:56 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JSL-Function-for-resizing-all-font-sizes/m-p/407311#M65735</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2021-08-05T14:59:56Z</dc:date>
    </item>
    <item>
      <title>Re: JSL Function for resizing all font sizes</title>
      <link>https://community.jmp.com/t5/Discussions/JSL-Function-for-resizing-all-font-sizes/m-p/407464#M65749</link>
      <description>&lt;P&gt;On windows this will work. Not sure about Mac.&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Main Menu( "Increase Font Sizes" );
Main Menu( "Decrease Font Sizes" );&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;It is hiding under Window-&amp;gt;Font Sizes and is the same as ctrl-shift-plus/minus.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Aug 2021 20:06:25 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JSL-Function-for-resizing-all-font-sizes/m-p/407464#M65749</guid>
      <dc:creator>Craige_Hales</dc:creator>
      <dc:date>2021-08-05T20:06:25Z</dc:date>
    </item>
    <item>
      <title>Re: JSL Function for resizing all font sizes</title>
      <link>https://community.jmp.com/t5/Discussions/JSL-Function-for-resizing-all-font-sizes/m-p/407781#M65780</link>
      <description>&lt;P&gt;Thank you!&amp;nbsp;This is exactly what I wanted.&lt;/P&gt;</description>
      <pubDate>Sat, 07 Aug 2021 03:14:19 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JSL-Function-for-resizing-all-font-sizes/m-p/407781#M65780</guid>
      <dc:creator>Arthur</dc:creator>
      <dc:date>2021-08-07T03:14:19Z</dc:date>
    </item>
    <item>
      <title>Re: JSL Function for resizing all font sizes</title>
      <link>https://community.jmp.com/t5/Discussions/JSL-Function-for-resizing-all-font-sizes/m-p/407782#M65781</link>
      <description>&lt;P&gt;Thank you! This is another way.&lt;/P&gt;</description>
      <pubDate>Sat, 07 Aug 2021 03:15:38 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JSL-Function-for-resizing-all-font-sizes/m-p/407782#M65781</guid>
      <dc:creator>Arthur</dc:creator>
      <dc:date>2021-08-07T03:15:38Z</dc:date>
    </item>
  </channel>
</rss>

