<?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 Setting License File Location within Preferences using JSL script in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Setting-License-File-Location-within-Preferences-using-JSL/m-p/329969#M57</link>
    <description>&lt;P&gt;I manage the JMP license file for my companies users in the UK. Every year the location of this file is slightly different and I have to send out detailed instructions how to change this location ( file - Preferences- File locations - License file path and paste the link into the box that appears). this seems to be beyond some users and each year it takes a lot of my time to sort this out for them.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is there a way to run a jsl script that will automatically change this within their preferences? the closest I can find is this&amp;nbsp;&lt;LI-MESSAGE title="How to access System Preferences in JSL, specifically the date format setting" uid="280619" url="https://community.jmp.com/t5/Discussions/How-to-access-System-Preferences-in-JSL-specifically-the-date/m-p/280619#U280619" discussion_style_icon_css="lia-mention-container-editor-message lia-img-icon-forum-thread lia-fa-icon lia-fa-forum lia-fa-thread lia-fa"&gt;&lt;/LI-MESSAGE&gt;&amp;nbsp;but it doesn't really help my issue.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So what I'd like is a jsl file that is run that changes the&amp;nbsp;License file path within preferences.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;David&lt;/P&gt;</description>
    <pubDate>Thu, 05 Nov 2020 14:29:59 GMT</pubDate>
    <dc:creator>d_barnett</dc:creator>
    <dc:date>2020-11-05T14:29:59Z</dc:date>
    <item>
      <title>Setting License File Location within Preferences using JSL script</title>
      <link>https://community.jmp.com/t5/Discussions/Setting-License-File-Location-within-Preferences-using-JSL/m-p/329969#M57</link>
      <description>&lt;P&gt;I manage the JMP license file for my companies users in the UK. Every year the location of this file is slightly different and I have to send out detailed instructions how to change this location ( file - Preferences- File locations - License file path and paste the link into the box that appears). this seems to be beyond some users and each year it takes a lot of my time to sort this out for them.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is there a way to run a jsl script that will automatically change this within their preferences? the closest I can find is this&amp;nbsp;&lt;LI-MESSAGE title="How to access System Preferences in JSL, specifically the date format setting" uid="280619" url="https://community.jmp.com/t5/Discussions/How-to-access-System-Preferences-in-JSL-specifically-the-date/m-p/280619#U280619" discussion_style_icon_css="lia-mention-container-editor-message lia-img-icon-forum-thread lia-fa-icon lia-fa-forum lia-fa-thread lia-fa"&gt;&lt;/LI-MESSAGE&gt;&amp;nbsp;but it doesn't really help my issue.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So what I'd like is a jsl file that is run that changes the&amp;nbsp;License file path within preferences.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;David&lt;/P&gt;</description>
      <pubDate>Thu, 05 Nov 2020 14:29:59 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Setting-License-File-Location-within-Preferences-using-JSL/m-p/329969#M57</guid>
      <dc:creator>d_barnett</dc:creator>
      <dc:date>2020-11-05T14:29:59Z</dc:date>
    </item>
    <item>
      <title>Re: Setting License File Location within Preferences using JSL script</title>
      <link>https://community.jmp.com/t5/Discussions/Setting-License-File-Location-within-Preferences-using-JSL/m-p/329990#M58</link>
      <description>&lt;P&gt;You can do what you want by using Set Preferences&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Set Preferences(
	File Location Settings(
		Installation Directory( "C:\Program Files\SAS\JMPPRO\15" ),
		License File Path( "C:\PROGRAM FILES\SAS\JMPPRO\15\JMP.PER" )
	)
);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Note: You may have to set all of the File Location Settings that are on ones system all at once, so that you do not delete any existing File Location Settings.&amp;nbsp; So you may have to first&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;thePrefs = Get Preferences(File Location Settings );&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;to get all of the File Location Settings, replace the License File Path, and then apply the Set Preferences.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Nov 2020 10:50:54 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Setting-License-File-Location-within-Preferences-using-JSL/m-p/329990#M58</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2020-11-05T10:50:54Z</dc:date>
    </item>
  </channel>
</rss>

