<?xml version="1.0" encoding="UTF-8"?>
	<rss version="2.0"
		xmlns:content="http://purl.org/rss/1.0/modules/content/"
		xmlns:wfw="http://wellformedweb.org/CommentAPI/"
		xmlns:dc="http://purl.org/dc/elements/1.1/"
		xmlns:atom="http://www.w3.org/2005/Atom"

			>

	<channel>
		<title>Cycling 74  &#187;  Topic: Bug report: &quot;opendialog&quot; doesn&#039;t work with lists of more than 5 spaces</title>
		<atom:link href="http://cycling74.com/forums/topic/bug-report-opendialog-doesnt-work-with-lists-of-more-than-5-spaces/feed" rel="self" type="application/rss+xml" />
		<link>http://cycling74.com/forums/topic/bug-report-opendialog-doesnt-work-with-lists-of-more-than-5-spaces/feed</link>
		<description></description>
		<pubDate>Wed, 19 Jun 2013 19:09:28 +0000</pubDate>
		<generator>http://bbpress.org/?v=2.2.4</generator>
		<language></language>

		
														
					
				<item>
					<guid>http://cycling74.com/forums/topic/bug-report-opendialog-doesnt-work-with-lists-of-more-than-5-spaces/#post-33233</guid>
					<title><![CDATA[Bug report: &quot;opendialog&quot; doesn&#039;t work with lists of more than 5 spaces]]></title>
					<link>http://cycling74.com/forums/topic/bug-report-opendialog-doesnt-work-with-lists-of-more-than-5-spaces/#post-33233</link>
					<pubDate>Mon, 13 Aug 2007 08:34:44 +0000</pubDate>
					<dc:creator>carlorossi</dc:creator>

					<description>
						<![CDATA[
						<p>To test it, just create a folder called &#8220;one two three four five six seven&#8221; on your desktop, open &#8220;opendialog.help&#8221; and try to load that folder.</p>
<p>It will be answer with something like:</p>
<p>&#8220;OSX:/Users/carlo/Desktop/one two three four five #1EEA75/&#8221;</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/bug-report-opendialog-doesnt-work-with-lists-of-more-than-5-spaces/#post-110461</guid>
					<title><![CDATA[Re: Bug report: &#8220;opendialog&#8221; doesn&#039;t work with lists of more than 5 spaces]]></title>
					<link>http://cycling74.com/forums/topic/bug-report-opendialog-doesnt-work-with-lists-of-more-than-5-spaces/#post-110461</link>
					<pubDate>Mon, 13 Aug 2007 09:00:20 +0000</pubDate>
					<dc:creator>Patrick Delges</dc:creator>

					<description>
						<![CDATA[
						<p></p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/bug-report-opendialog-doesnt-work-with-lists-of-more-than-5-spaces/#post-110462</guid>
					<title><![CDATA[Re: Bug report: &#8220;opendialog&#8221; doesn&#039;t work with lists of more than 5 spaces]]></title>
					<link>http://cycling74.com/forums/topic/bug-report-opendialog-doesnt-work-with-lists-of-more-than-5-spaces/#post-110462</link>
					<pubDate>Mon, 13 Aug 2007 09:22:17 +0000</pubDate>
					<dc:creator>Emmanuel Jourdan</dc:creator>

					<description>
						<![CDATA[
						<p></p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/bug-report-opendialog-doesnt-work-with-lists-of-more-than-5-spaces/#post-110463</guid>
					<title><![CDATA[Re: Bug report: &#8220;opendialog&#8221; doesn&#039;t work with lists of more than 5 spaces]]></title>
					<link>http://cycling74.com/forums/topic/bug-report-opendialog-doesnt-work-with-lists-of-more-than-5-spaces/#post-110463</link>
					<pubDate>Mon, 13 Aug 2007 09:29:16 +0000</pubDate>
					<dc:creator>carlorossi</dc:creator>

					<description>
						<![CDATA[
						<p>> On OSX I&#8217;m afraid Max doesn&#8217;t support file names longer than 32chars, <br />
> like in the good old days&#8230;</p>
<p>It weird because I can load file up to 51 charachters without problem&#8230; and over 51 the error occurs.</p>
<p>But I&#8217;m counting the &#8220;path size&#8221; as the length of the string (see the patch that I&#8217;ve attatched).</p>
<p>Is it possible that is a &#8220;spaces&#8221; problem instead of the length of names?</p>
<p>Thanks</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/bug-report-opendialog-doesnt-work-with-lists-of-more-than-5-spaces/#post-110464</guid>
					<title><![CDATA[Re: Bug report: &#8220;opendialog&#8221; doesn&#039;t work with lists of more than 5 spaces]]></title>
					<link>http://cycling74.com/forums/topic/bug-report-opendialog-doesnt-work-with-lists-of-more-than-5-spaces/#post-110464</link>
					<pubDate>Mon, 13 Aug 2007 10:07:12 +0000</pubDate>
					<dc:creator>carlorossi</dc:creator>

					<description>
						<![CDATA[
						<p>Ok.<br />
However, I have to append to this strange path another string, that is the name of the file that I have to load into a buffer~. And I think is not possibile&#8230;</p>
<p>I&#8217;m using the &#8220;opendialog&#8221; object to fill an lcd with names of the files of a certain folder (it&#8217;s the Topher LaFata&#8217;s filebrowse).<br />
It result something like:</p>
<p>replace /Users/carlo/Desktop/one two three four fiv#1EF185/myfile.wav</p>
<p>that doesn&#8217;t work with buffer~.</p>
<p>
I think it is not possible to solve this issue. Hovewer, I would like to know &#8220;when&#8221; thi happen, to show an error message.</p>
<p>It is not ok to count the number of characters of the string of the path I guess&#8230; how can I do it?</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/bug-report-opendialog-doesnt-work-with-lists-of-more-than-5-spaces/#post-110465</guid>
					<title><![CDATA[Re: Bug report: &#8220;opendialog&#8221; doesn&#039;t work with lists of more than 5 spaces]]></title>
					<link>http://cycling74.com/forums/topic/bug-report-opendialog-doesnt-work-with-lists-of-more-than-5-spaces/#post-110465</link>
					<pubDate>Mon, 13 Aug 2007 11:05:17 +0000</pubDate>
					<dc:creator>Emmanuel Jourdan</dc:creator>

					<description>
						<![CDATA[
						<p></p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/bug-report-opendialog-doesnt-work-with-lists-of-more-than-5-spaces/#post-110466</guid>
					<title><![CDATA[Re: Bug report: &#8220;opendialog&#8221; doesn&#039;t work with lists of more than 5 spaces]]></title>
					<link>http://cycling74.com/forums/topic/bug-report-opendialog-doesnt-work-with-lists-of-more-than-5-spaces/#post-110466</link>
					<pubDate>Mon, 13 Aug 2007 13:06:28 +0000</pubDate>
					<dc:creator>Bruno Zamborlin</dc:creator>

					<description>
						<![CDATA[
						<p>> You can try to search if there&#8217;s a # in the string using regexp  <br />
> object or the RegExp in java.</p>
<p>
I&#8217;m using the same solution.<br />
Carlo, hope this helps (pay attention to the loadbang):</p>
<p>
#P button 36 35 15 0;<br />
#P outlet 36 218 15 0;<br />
#P window setfont &#8220;Sans Serif&#8221; 9.;<br />
#P window linecount 1;<br />
#N vpatcher 2094 296 2404 659;<br />
#P window setfont &#8220;Sans Serif&#8221; 9.;<br />
#P comment 150 243 100 196617 contains #;<br />
#P window linecount 0;<br />
#P newex 28 223 236 196617 sel 1 2;<br />
#P newex 28 201 34 196617 zl len;<br />
#P button 70 121 15 0;<br />
#P newex 28 180 54 196617 thresh 20;<br />
#P button 28 121 15 0;<br />
#P button 141 272 15 0;<br />
#P button 28 271 15 0;<br />
#P outlet 141 300 15 0;<br />
#P window linecount 1;<br />
#P newex 99 37 48 196617 loadbang;<br />
#P message 99 63 100 196617 substitute # dummy;<br />
#P newex 28 88 66 196617 regexp #;<br />
#P outlet 28 300 15 0;<br />
#P inlet 28 34 15 0;<br />
#P window linecount 0;<br />
#P comment 40 243 100 196617 doesn&#8217;t contain #;<br />
#P window linecount 1;<br />
#P message 70 151 14 196617 2;<br />
#P message 28 151 14 196617 1;<br />
#P connect 3 0 5 0;<br />
#P fasten 6 0 5 0 104 83 33 83;<br />
#P connect 5 0 11 0;<br />
#P connect 11 0 0 0;<br />
#P fasten 1 0 12 0 75 173 33 173;<br />
#P connect 0 0 12 0;<br />
#P connect 12 0 14 0;<br />
#P connect 14 0 15 0;<br />
#P connect 15 0 9 0;<br />
#P connect 9 0 4 0;<br />
#P connect 5 3 13 0;<br />
#P connect 13 0 1 0;<br />
#P connect 7 0 6 0;<br />
#P connect 15 1 10 0;<br />
#P connect 10 0 8 0;<br />
#P pop;<br />
#P newobj 36 120 50 196617 p toolong;<br />
#P message 36 194 71 196617 Path too long!;<br />
#P newex 278 194 36 196617 zl reg;<br />
#P newex 36 81 278 196617 t l l;<br />
#P newex 36 55 71 196617 opendialog fold;<br />
#P fasten 2 0 5 0 283 214 41 214;<br />
#P connect 3 0 5 0;<br />
#P connect 6 0 0 0;<br />
#P connect 0 0 1 0;<br />
#P connect 1 0 4 0;<br />
#P fasten 4 1 3 0 81 165 41 165;<br />
#P fasten 4 0 2 0 41 157 283 157;<br />
#P lcolor 6;<br />
#P connect 1 1 2 1;<br />
#P window clipboard copycount 7;</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/bug-report-opendialog-doesnt-work-with-lists-of-more-than-5-spaces/#post-110467</guid>
					<title><![CDATA[Re: Bug report: &#8220;opendialog&#8221; doesn&#039;t work with lists of more than 5 spaces]]></title>
					<link>http://cycling74.com/forums/topic/bug-report-opendialog-doesnt-work-with-lists-of-more-than-5-spaces/#post-110467</link>
					<pubDate>Mon, 13 Aug 2007 13:09:17 +0000</pubDate>
					<dc:creator>carlorossi</dc:creator>

					<description>
						<![CDATA[
						<p>Ciao Bruno, it works perfectly thank you very much.</p>
<p>Hope to find a really solution one day :)</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/bug-report-opendialog-doesnt-work-with-lists-of-more-than-5-spaces/#post-110468</guid>
					<title><![CDATA[Re: Bug report: &#8220;opendialog&#8221; doesn&#039;t work with lists of more than 5 spaces]]></title>
					<link>http://cycling74.com/forums/topic/bug-report-opendialog-doesnt-work-with-lists-of-more-than-5-spaces/#post-110468</link>
					<pubDate>Tue, 14 Aug 2007 18:13:24 +0000</pubDate>
					<dc:creator>nesa</dc:creator>

					<description>
						<![CDATA[
						<p>Pasted below is a little hack that can get a long filename using the  <br />
shell external.<br />
This example works only with the files residing on the boot volume.</p>
<p>best,<br />
nesa</p>
<p>#P window setfont &#8220;Sans Serif&#8221; 9.;<br />
#P window linecount 1;<br />
#P comment 340 407 316 196617 tail &#8211; strips first 30 characters <br />
(&#8216;kMDItemFSName =&#8217;);<br />
#P comment 340 389 316 196617 grep &#8211; extracts only the line  <br />
containing full file name;<br />
#P message 90 520 257 196617 &#8220;one two three four five six seven eight  <br />
nine ten.txt&#8221;;<br />
#P newex 90 459 64 196617 fromsymbol;<br />
#P newex 90 492 80 196617 prepend set;<br />
#P newex 90 387 230 196617 append | grep -m 1 kMDItemFSName | tail -c  <br />
+30;<br />
#P newex 90 364 69 196617 prepend mdls;<br />
#P newex 90 329 107 196617 sprintf symout &#8220;%s&#8221;;<br />
#P user dropfile 113 148 402 287 1;<br />
#P newex 90 302 110 196617 conformpath max boot;<br />
#B color 5;<br />
#P newex 90 410 31 196617 shell;<br />
#P button 90 82 15 0;<br />
#P newex 90 117 56 196617 opendialog;<br />
#P comment 340 371 316 196617 mdls &#8211; lists the metadata attributes  <br />
for the specified file;<br />
#P comment 201 134 100 196617 dropfile:;<br />
#P user panel 82 356 247 80;<br />
#X brgb 206 242 171;<br />
#X frgb 0 0 0;<br />
#X border 1;<br />
#X rounded 0;<br />
#X shadow 0;<br />
#X done;<br />
#P connect 4 0 3 0;<br />
#P connect 3 0 6 0;<br />
#P connect 7 0 6 0;<br />
#P connect 6 0 8 0;<br />
#P connect 8 0 9 0;<br />
#P connect 9 0 10 0;<br />
#P connect 10 0 5 0;<br />
#P connect 5 0 12 0;<br />
#P connect 12 0 11 0;<br />
#P connect 11 0 13 0;<br />
#P window clipboard copycount 16;</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/bug-report-opendialog-doesnt-work-with-lists-of-more-than-5-spaces/#post-110469</guid>
					<title><![CDATA[Re: Bug report: &#8220;opendialog&#8221; doesn&#039;t work with lists of more than 5 spaces]]></title>
					<link>http://cycling74.com/forums/topic/bug-report-opendialog-doesnt-work-with-lists-of-more-than-5-spaces/#post-110469</link>
					<pubDate>Fri, 17 Aug 2007 09:33:54 +0000</pubDate>
					<dc:creator>carlorossi</dc:creator>

					<description>
						<![CDATA[
						<p>Thank you Nesa.<br />
However, as you said, your example works only in the boot volume, so I can&#8217;t use it in my patch.</p>
<p>Also I&#8217;m not sure that exist a &#8220;shell&#8221; object for Windows XP that does the &#8220;grep&#8221; function.<br />
Maybe this one: <a href="http://www.maxobjects.com/?v=objects&#038;id_objet=3531&#038;requested=shell&#038;operateur=AND&#038;id_plateforme=0" rel="nofollow">http://www.maxobjects.com/?v=objects&#038;id_objet=3531&#038;requested=shell&#038;operateur=AND&#038;id_plateforme=0</a><br />
?</p>
						]]>
					</description>

					
					
				</item>

					
		
	</channel>
	</rss>

