<?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 How do I Setting Preferences with a Script in Irish JMP Users Group Discussions</title>
    <link>https://community.jmp.com/t5/Irish-JMP-Users-Group/How-do-I-Setting-Preferences-with-a-Script/m-p/75849#M28</link>
    <description>&lt;P&gt;If I wanted to make sure the preferences were the same on any machine prior to executing a script, to ensure the output was consistent and then set them back again, is there any way to script it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I can get the preferences with Get Platform Preferences()&lt;/P&gt;
&lt;P&gt;But it looks like Set Platform Preferences won't accept a string as an argument.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;x = "(Association Analysis(
		Transaction Listing( 1 ),
	))";
	
Set Platform Preferences( x );&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Wed, 26 Sep 2018 13:52:24 GMT</pubDate>
    <dc:creator>paul_phelan</dc:creator>
    <dc:date>2018-09-26T13:52:24Z</dc:date>
    <item>
      <title>How do I Setting Preferences with a Script</title>
      <link>https://community.jmp.com/t5/Irish-JMP-Users-Group/How-do-I-Setting-Preferences-with-a-Script/m-p/75849#M28</link>
      <description>&lt;P&gt;If I wanted to make sure the preferences were the same on any machine prior to executing a script, to ensure the output was consistent and then set them back again, is there any way to script it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I can get the preferences with Get Platform Preferences()&lt;/P&gt;
&lt;P&gt;But it looks like Set Platform Preferences won't accept a string as an argument.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;x = "(Association Analysis(
		Transaction Listing( 1 ),
	))";
	
Set Platform Preferences( x );&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 26 Sep 2018 13:52:24 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Irish-JMP-Users-Group/How-do-I-Setting-Preferences-with-a-Script/m-p/75849#M28</guid>
      <dc:creator>paul_phelan</dc:creator>
      <dc:date>2018-09-26T13:52:24Z</dc:date>
    </item>
    <item>
      <title>Re: How do I Setting Preferences with a Script</title>
      <link>https://community.jmp.com/t5/Irish-JMP-Users-Group/How-do-I-Setting-Preferences-with-a-Script/m-p/75873#M29</link>
      <description>&lt;P&gt;I think you can use something like the following to accomplish what you're trying to do.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;//get current settings
prev = Get Platform Preferences( Association Analysis( Transaction Listing ) );

//set preference for your script
Set Platform Preferences( Association Analysis( Transaction Listing(1) ) );

//execute analysis script

//reset platform preferences to previous values
eval(prev);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 26 Sep 2018 14:47:06 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Irish-JMP-Users-Group/How-do-I-Setting-Preferences-with-a-Script/m-p/75873#M29</guid>
      <dc:creator>michael_jmp</dc:creator>
      <dc:date>2018-09-26T14:47:06Z</dc:date>
    </item>
  </channel>
</rss>

