<?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: Send Expects Scriptable Object in access or evaluation of 'Send' in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Send-Expects-Scriptable-Object-in-access-or-evaluation-of-Send/m-p/58315#M32338</link>
    <description>&lt;P&gt;Take out the close window part.&lt;/P&gt;
&lt;P&gt;By sending the modal message you automatically get the "ok" button that closes the window.&lt;/P&gt;
&lt;P&gt;so then when you try to close it with "close window" its already closed.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;and the close goes to the result of the button, hence the error message, you can't send close (or really anything) to the result of the button close.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 28 May 2018 00:56:49 GMT</pubDate>
    <dc:creator>Byron_JMP</dc:creator>
    <dc:date>2018-05-28T00:56:49Z</dc:date>
    <item>
      <title>Send Expects Scriptable Object in access or evaluation of 'Send'</title>
      <link>https://community.jmp.com/t5/Discussions/Send-Expects-Scriptable-Object-in-access-or-evaluation-of-Send/m-p/58314#M32337</link>
      <description>&lt;P&gt;I created a modal dialog box to gather some information before running through the rest of the script.&amp;nbsp; It works but I get the following error in the log file and I don't understand why I get the error?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Send Expects Scriptable Object in access or evaluation of 'Send' , nw1 &amp;lt;&amp;lt; /*###*/close window/*###*/&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is the code for the modal window:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas" size="2"&gt;nw1 = &lt;/FONT&gt;&lt;FONT color="#0000dd" face="Consolas" size="2"&gt;New Window&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;( &lt;/FONT&gt;&lt;FONT color="#800080" face="Consolas" size="2"&gt;"Setup Window"&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;, &lt;FONT face="Consolas" size="2"&gt;&amp;lt;&amp;lt;&lt;/FONT&gt;&lt;FONT color="#000080" face="Consolas" size="2"&gt;modal&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;,&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000dd" face="Consolas" size="2"&gt;H List Box&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;(&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000dd" face="Consolas" size="2"&gt;Panel Box&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;( &lt;/FONT&gt;&lt;FONT color="#800080" face="Consolas" size="2"&gt;"Which Machine in East (M9/M11)?"&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;, &lt;/FONT&gt;&lt;FONT color="#0000dd" face="Consolas" size="2"&gt;H List Box&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;( rb1 = &lt;/FONT&gt;&lt;FONT color="#0000dd" face="Consolas" size="2"&gt;Radio Box&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;( {&lt;/FONT&gt;&lt;FONT color="#800080" face="Consolas" size="2"&gt;"M9"&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;, &lt;/FONT&gt;&lt;FONT color="#800080" face="Consolas" size="2"&gt;"M11"&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;} ) ), ),&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000dd" face="Consolas" size="2"&gt;Panel Box&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;( &lt;/FONT&gt;&lt;FONT color="#800080" face="Consolas" size="2"&gt;"Fetch New Data (Yes/No)?"&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;, &lt;/FONT&gt;&lt;FONT color="#0000dd" face="Consolas" size="2"&gt;H List Box&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;( rb2 = &lt;/FONT&gt;&lt;FONT color="#0000dd" face="Consolas" size="2"&gt;Radio Box&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;( {&lt;/FONT&gt;&lt;FONT color="#800080" face="Consolas" size="2"&gt;"Don't Update Data"&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;, &lt;/FONT&gt;&lt;FONT color="#800080" face="Consolas" size="2"&gt;"Update Data"&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;} ) ), ),　&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;),&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000dd" face="Consolas" size="2"&gt;Panel Box&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;( &lt;/FONT&gt;&lt;FONT color="#800080" face="Consolas" size="2"&gt;"Actions"&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;,&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000dd" face="Consolas" size="2"&gt;H List Box&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;(&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas" size="2"&gt;okb1 = &lt;/FONT&gt;&lt;FONT color="#0000dd" face="Consolas" size="2"&gt;Button Box&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;( &lt;/FONT&gt;&lt;FONT color="#800080" face="Consolas" size="2"&gt;"OK"&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;,&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas" size="2"&gt;M9M11 = rb1 &amp;lt;&amp;lt; &lt;/FONT&gt;&lt;FONT color="#000080" face="Consolas" size="2"&gt;get selected&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas" size="2"&gt;DataYN = rb2 &amp;lt;&amp;lt; &lt;/FONT&gt;&lt;FONT color="#000080" face="Consolas" size="2"&gt;get selected&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000dd" face="Consolas" size="2"&gt;If&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;( M9M11 == &lt;/FONT&gt;&lt;FONT color="#800080" face="Consolas" size="2"&gt;"M9"&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;, &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas" size="2"&gt;Machine = &lt;/FONT&gt;&lt;FONT color="#800080" face="Consolas" size="2"&gt;"M9"&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas" size="2"&gt;ErrorLogScript = &lt;/FONT&gt;&lt;FONT color="#800080" face="Consolas" size="2"&gt;"M9-Error_Log.jsl"&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas" size="2"&gt;RunTimeScript = &lt;/FONT&gt;&lt;FONT color="#800080" face="Consolas" size="2"&gt;"M9-RunTime.jsl"&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ScriptPath =&lt;/P&gt;&lt;P&gt;&lt;FONT color="#800080" face="Consolas" size="2"&gt;"\\goldlnk.rootlnka.net\glddfs002\SHARED\SHARED\OPS\Micro-Electronics Mfg\Microwave\MRSI EAST 705 M8-M11 ERROR LOGS\M9-Combined\"&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ELDTfolder =&lt;/P&gt;&lt;P&gt;&lt;FONT color="#800080" face="Consolas" size="2"&gt;"\\goldlnk.rootlnka.net\glddfs002\SHARED\SHARED\OPS\Micro-Electronics Mfg\Microwave\MRSI EAST 705 M8-M11 ERROR LOGS\M9 Data Tables\"&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas" size="2"&gt;ELDTfile = &lt;/FONT&gt;&lt;FONT color="#800080" face="Consolas" size="2"&gt;"MRSI M9 Sorted Error Log.jmp"&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;RTDTfolder =&lt;/P&gt;&lt;P&gt;&lt;FONT color="#800080" face="Consolas" size="2"&gt;"\\goldlnk.rootlnka.net\glddfs002\SHARED\SHARED\OPS\Micro-Electronics Mfg\Microwave\MRSI EAST 705 M8-M11 ERROR LOGS\M9 Data Tables\"&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas" size="2"&gt;RTDTfile = &lt;/FONT&gt;&lt;FONT color="#800080" face="Consolas" size="2"&gt;"M9 MRSI 705 East Run Time Log.jmp"&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas" size="2"&gt;Machine = &lt;/FONT&gt;&lt;FONT color="#800080" face="Consolas" size="2"&gt;"M11"&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas" size="2"&gt;ErrorLogScript = &lt;/FONT&gt;&lt;FONT color="#800080" face="Consolas" size="2"&gt;"M11-Error_Log.jsl"&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas" size="2"&gt;RunTimeScript = &lt;/FONT&gt;&lt;FONT color="#800080" face="Consolas" size="2"&gt;"M11-RunTime.jsl"&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ScriptPath =&lt;/P&gt;&lt;P&gt;&lt;FONT color="#800080" face="Consolas" size="2"&gt;"\\goldlnk.rootlnka.net\glddfs002\SHARED\SHARED\OPS\Micro-Electronics Mfg\Microwave\MRSI EAST 705 M8-M11 ERROR LOGS\M11-Combined\"&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ELDTfolder =&lt;/P&gt;&lt;P&gt;&lt;FONT color="#800080" face="Consolas" size="2"&gt;"\\goldlnk.rootlnka.net\glddfs002\SHARED\SHARED\OPS\Micro-Electronics Mfg\Microwave\MRSI EAST 705 M8-M11 ERROR LOGS\M11 Data Tables\"&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas" size="2"&gt;ELDTfile = &lt;/FONT&gt;&lt;FONT color="#800080" face="Consolas" size="2"&gt;"MRSI M11 Sorted Error Log.jmp"&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;RTDTfolder =&lt;/P&gt;&lt;P&gt;&lt;FONT color="#800080" face="Consolas" size="2"&gt;"\\goldlnk.rootlnka.net\glddfs002\SHARED\SHARED\OPS\Micro-Electronics Mfg\Microwave\MRSI EAST 705 M8-M11 ERROR LOGS\M11 Data Tables\"&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas" size="2"&gt;RTDTfile = &lt;/FONT&gt;&lt;FONT color="#800080" face="Consolas" size="2"&gt;"M11 MRSI 705 East Run Time Log.jmp"&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;);&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000dd" face="Consolas" size="2"&gt;Wait&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;( &lt;/FONT&gt;&lt;FONT color="#008080" face="Consolas" size="2"&gt;1&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt; );&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000dd" face="Consolas" size="2"&gt;If&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;( DataYN == &lt;/FONT&gt;&lt;FONT color="#800080" face="Consolas" size="2"&gt;"Don't Update Data"&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;, &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#008000" face="Consolas" size="2"&gt;//Do nothing&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;,&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000dd" face="Consolas" size="2"&gt;Include&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;( ScriptPath || ErrorLogScript );&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000dd" face="Consolas" size="2"&gt;Include&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;( ScriptPath || RunTimeScript );&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;);&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000dd" face="Consolas" size="2"&gt;Wait&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;( &lt;/FONT&gt;&lt;FONT color="#008080" face="Consolas" size="2"&gt;1&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt; );&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas" size="2"&gt;nw1 &amp;lt;&amp;lt; &lt;/FONT&gt;&lt;FONT color="#000080" face="Consolas" size="2"&gt;close window&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;),&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas" size="2"&gt;canb1 = &lt;/FONT&gt;&lt;FONT color="#0000dd" face="Consolas" size="2"&gt;Button Box&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;( &lt;/FONT&gt;&lt;FONT color="#800080" face="Consolas" size="2"&gt;"Cancel"&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;,&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas" size="2"&gt;nw1 &amp;lt;&amp;lt; &lt;/FONT&gt;&lt;FONT color="#000080" face="Consolas" size="2"&gt;close window&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#008000" face="Consolas" size="2"&gt;//in the future would like a way to terminate without continuing&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;),&lt;/P&gt;&lt;P&gt;　),&lt;/P&gt;&lt;P&gt;　),&lt;/P&gt;&lt;P&gt;);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 28 May 2018 00:39:59 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Send-Expects-Scriptable-Object-in-access-or-evaluation-of-Send/m-p/58314#M32337</guid>
      <dc:creator>KST-CPT</dc:creator>
      <dc:date>2018-05-28T00:39:59Z</dc:date>
    </item>
    <item>
      <title>Re: Send Expects Scriptable Object in access or evaluation of 'Send'</title>
      <link>https://community.jmp.com/t5/Discussions/Send-Expects-Scriptable-Object-in-access-or-evaluation-of-Send/m-p/58315#M32338</link>
      <description>&lt;P&gt;Take out the close window part.&lt;/P&gt;
&lt;P&gt;By sending the modal message you automatically get the "ok" button that closes the window.&lt;/P&gt;
&lt;P&gt;so then when you try to close it with "close window" its already closed.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;and the close goes to the result of the button, hence the error message, you can't send close (or really anything) to the result of the button close.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 28 May 2018 00:56:49 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Send-Expects-Scriptable-Object-in-access-or-evaluation-of-Send/m-p/58315#M32338</guid>
      <dc:creator>Byron_JMP</dc:creator>
      <dc:date>2018-05-28T00:56:49Z</dc:date>
    </item>
  </channel>
</rss>

