<?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 Run script on MAC in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Run-script-on-MAC/m-p/416441#M66573</link>
    <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I trying to run script on Mac, which works fine on windows.&lt;/P&gt;&lt;P&gt;but in some step I got the following error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"segoe ui at row 114086"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;could some one advice how to troubleshoot the issue?&lt;/P&gt;</description>
    <pubDate>Fri, 09 Jun 2023 19:56:20 GMT</pubDate>
    <dc:creator>AdirZig</dc:creator>
    <dc:date>2023-06-09T19:56:20Z</dc:date>
    <item>
      <title>Run script on MAC</title>
      <link>https://community.jmp.com/t5/Discussions/Run-script-on-MAC/m-p/416441#M66573</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I trying to run script on Mac, which works fine on windows.&lt;/P&gt;&lt;P&gt;but in some step I got the following error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"segoe ui at row 114086"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;could some one advice how to troubleshoot the issue?&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2023 19:56:20 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Run-script-on-MAC/m-p/416441#M66573</guid>
      <dc:creator>AdirZig</dc:creator>
      <dc:date>2023-06-09T19:56:20Z</dc:date>
    </item>
    <item>
      <title>Re: Run script on MAC</title>
      <link>https://community.jmp.com/t5/Discussions/Run-script-on-MAC/m-p/416447#M66575</link>
      <description>&lt;P&gt;I'm not sure we have enough information as that doesn't look like a standard message from JMP. Segoe UI is the name of a font on Windows.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Does row 114086 of any of the data tables you're using as a part of your script have "segoe ui" as a value in a column?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you give us some more clues about what the script is doing or where in the script the error might be occurring?&lt;/P&gt;</description>
      <pubDate>Wed, 08 Sep 2021 17:49:24 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Run-script-on-MAC/m-p/416447#M66575</guid>
      <dc:creator>Jeff_Perkinson</dc:creator>
      <dc:date>2021-09-08T17:49:24Z</dc:date>
    </item>
    <item>
      <title>Re: Run script on MAC</title>
      <link>https://community.jmp.com/t5/Discussions/Run-script-on-MAC/m-p/416790#M66592</link>
      <description>&lt;P&gt;search the script for that font name. Replace it with either&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;an if statement that tests for the OS and provides a font for that OS&lt;/LI&gt;&lt;LI&gt;a JMP base font name&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The first choice might look like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;// TextFont example in scripting index
Text Font( If( Host is( "Mac" ), "Helvetica", "Arial" ), 30, "Italic Bold" );&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The second choice might look like this.&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;// Set Base Font example in scripting index
fontobj &amp;lt;&amp;lt; Set Base Font( "Title" ); &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;The base font names are found in preferences:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="The user can set their own preference for each base font." style="width: 664px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/35655i65A10CB5B5E6ED25/image-size/large?v=v2&amp;amp;px=999" role="button" title="FontPref.PNG" alt="The user can set their own preference for each base font." /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;The user can set their own preference for each base font.&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I re-worked the SI example like this ( &lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/1893"&gt;@Audrey_Shull&lt;/a&gt;&amp;nbsp; - I think the example needs help, it works but does not make a very observable change.)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );
New Window( "Example",
	ob = Outline Box( "Outline Box",
		V List Box(
			ob2 = Outline Box( "Outline Box 2",
				H List Box( Text Edit Box( "Top Left", &amp;lt;&amp;lt;Set Base Font( "Title" ) ), Text Edit Box( "Top Right", &amp;lt;&amp;lt;Set Base Font( "Mono" ) ) )
			),
			ob3 = Outline Box( "Outline Box 3", H List Box( Text Edit Box( "Bottom Left" ), fontobj = Text Edit Box( "Bottom Right" ) ) )
		)
	)
);
fontobj &amp;lt;&amp;lt; SetBaseFont( "Small" );&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;to get this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Bottom Left is unchanged from the default Text font" style="width: 250px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/35656i5C9B4B9E72F2E11E/image-size/large?v=v2&amp;amp;px=999" role="button" title="BaseFonts.PNG" alt="Bottom Left is unchanged from the default Text font" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Bottom Left is unchanged from the default Text font&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Using the Base Font Names is good because it keeps the OS dependency out of your JSL and allows users to customize the way fonts are used. Try to pick a Base Font name that represents what the font is doing for your application.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Sep 2021 11:45:26 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Run-script-on-MAC/m-p/416790#M66592</guid>
      <dc:creator>Craige_Hales</dc:creator>
      <dc:date>2021-09-09T11:45:26Z</dc:date>
    </item>
    <item>
      <title>Re: Run script on MAC</title>
      <link>https://community.jmp.com/t5/Discussions/Run-script-on-MAC/m-p/416853#M66595</link>
      <description>&lt;P&gt;Thanks for the tag, &lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/982"&gt;@Craige_Hales&lt;/a&gt;&amp;nbsp;- we'll see if we can improve this example with something similar to your suggestion, trying to make the differences more obvious.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Sep 2021 13:45:00 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Run-script-on-MAC/m-p/416853#M66595</guid>
      <dc:creator>Audrey_Shull</dc:creator>
      <dc:date>2021-09-09T13:45:00Z</dc:date>
    </item>
  </channel>
</rss>

