<?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 JMP Alert: File not Found in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/JMP-Alert-File-not-Found/m-p/62087#M33442</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm creating the following script for a journal:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;OKScript = Expr(
	win1 &amp;lt;&amp;lt; CloseWindow;
	lf = ListF &amp;lt;&amp;lt; GetItems;
	If( N Items( lf ) &amp;lt; 1,
		Warning( "ERROR: You need to select at least one file" );
		Throw();
	);  
	For( i = 1, i &amp;lt;= N Items( lf ), i++,
	print(lf[i]); 
	dt=Open(lf[i]); 
	); 
	);
); &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;lf holds the list of file names that the user selected from a directory.&amp;nbsp;I keep getting a 'JMP Alert: file not found ' error each time I click the okay button when I have selected the file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help would be appreciated.&lt;/P&gt;</description>
    <pubDate>Fri, 09 Jun 2023 23:25:13 GMT</pubDate>
    <dc:creator>Jaz</dc:creator>
    <dc:date>2023-06-09T23:25:13Z</dc:date>
    <item>
      <title>JMP Alert: File not Found</title>
      <link>https://community.jmp.com/t5/Discussions/JMP-Alert-File-not-Found/m-p/62087#M33442</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm creating the following script for a journal:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;OKScript = Expr(
	win1 &amp;lt;&amp;lt; CloseWindow;
	lf = ListF &amp;lt;&amp;lt; GetItems;
	If( N Items( lf ) &amp;lt; 1,
		Warning( "ERROR: You need to select at least one file" );
		Throw();
	);  
	For( i = 1, i &amp;lt;= N Items( lf ), i++,
	print(lf[i]); 
	dt=Open(lf[i]); 
	); 
	);
); &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;lf holds the list of file names that the user selected from a directory.&amp;nbsp;I keep getting a 'JMP Alert: file not found ' error each time I click the okay button when I have selected the file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help would be appreciated.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2023 23:25:13 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JMP-Alert-File-not-Found/m-p/62087#M33442</guid>
      <dc:creator>Jaz</dc:creator>
      <dc:date>2023-06-09T23:25:13Z</dc:date>
    </item>
    <item>
      <title>Re: JMP Alert: File not Found</title>
      <link>https://community.jmp.com/t5/Discussions/JMP-Alert-File-not-Found/m-p/62088#M33443</link>
      <description>&lt;P&gt;What prints in the log for the file name? Does it need a prefix path?&lt;/P&gt;</description>
      <pubDate>Tue, 03 Jul 2018 10:04:31 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JMP-Alert-File-not-Found/m-p/62088#M33443</guid>
      <dc:creator>Craige_Hales</dc:creator>
      <dc:date>2018-07-03T10:04:31Z</dc:date>
    </item>
    <item>
      <title>Re: JMP Alert: File not Found</title>
      <link>https://community.jmp.com/t5/Discussions/JMP-Alert-File-not-Found/m-p/62089#M33444</link>
      <description>&lt;P&gt;The following error message is printed:&lt;/P&gt;&lt;P&gt;\Test 1 Measurements Mock Up.jmp was not found.&lt;/P&gt;&lt;P&gt;And this is printed in the log:&lt;/P&gt;&lt;P&gt;"Test 1 Measurements Mock Up.jmp"&lt;/P&gt;</description>
      <pubDate>Tue, 03 Jul 2018 10:06:53 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JMP-Alert-File-not-Found/m-p/62089#M33444</guid>
      <dc:creator>Jaz</dc:creator>
      <dc:date>2018-07-03T10:06:53Z</dc:date>
    </item>
    <item>
      <title>Re: JMP Alert: File not Found</title>
      <link>https://community.jmp.com/t5/Discussions/JMP-Alert-File-not-Found/m-p/62090#M33445</link>
      <description>&lt;P&gt;Sorry, my mistake. I realised that I didn't specify the full path.&lt;/P&gt;</description>
      <pubDate>Tue, 03 Jul 2018 10:14:17 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JMP-Alert-File-not-Found/m-p/62090#M33445</guid>
      <dc:creator>Jaz</dc:creator>
      <dc:date>2018-07-03T10:14:17Z</dc:date>
    </item>
    <item>
      <title>Re: JMP Alert: File not Found</title>
      <link>https://community.jmp.com/t5/Discussions/JMP-Alert-File-not-Found/m-p/62511#M33697</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Going back to this, is there any way I could open the file without specifying the prefix path. In another one of my scripts when&amp;nbsp;I type Open(filename.jmp) it works, but doesn't with this example, any idea as to why?&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jul 2018 12:43:21 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JMP-Alert-File-not-Found/m-p/62511#M33697</guid>
      <dc:creator>Jaz</dc:creator>
      <dc:date>2018-07-11T12:43:21Z</dc:date>
    </item>
    <item>
      <title>Re: JMP Alert: File not Found</title>
      <link>https://community.jmp.com/t5/Discussions/JMP-Alert-File-not-Found/m-p/62517#M33702</link>
      <description>&lt;P&gt;If it works without a full path, it is because JMP's default directory is where the files are. I'm not very familiar with how the default directory works, but might have something to do with the directory your script was loaded from.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jul 2018 13:19:50 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JMP-Alert-File-not-Found/m-p/62517#M33702</guid>
      <dc:creator>Craige_Hales</dc:creator>
      <dc:date>2018-07-11T13:19:50Z</dc:date>
    </item>
  </channel>
</rss>

