<?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: relative directories in ubumenu, and in general</title>
		<atom:link href="http://cycling74.com/forums/topic/relative-directories-in-ubumenu-and-in-general/feed" rel="self" type="application/rss+xml" />
		<link>http://cycling74.com/forums/topic/relative-directories-in-ubumenu-and-in-general/feed</link>
		<description></description>
		<pubDate>Tue, 18 Jun 2013 23:03:49 +0000</pubDate>
		<generator>http://bbpress.org/?v=2.2.4</generator>
		<language></language>

		
														
					
				<item>
					<guid>http://cycling74.com/forums/topic/relative-directories-in-ubumenu-and-in-general/#post-37708</guid>
					<title><![CDATA[relative directories in ubumenu, and in general]]></title>
					<link>http://cycling74.com/forums/topic/relative-directories-in-ubumenu-and-in-general/#post-37708</link>
					<pubDate>Sun, 11 May 2008 19:22:28 +0000</pubDate>
					<dc:creator>yair reshef</dc:creator>

					<description>
						<![CDATA[
						<p>hi ppl, whats the current state of things?<br />
there  were a couple of good threads and workarounds posted, i currently use</p>
<p>
#P button 245 67 15 0;<br />
#P window setfont &#8220;Sans Serif&#8221; 9.;<br />
#P window linecount 1;<br />
#P newex 245 101 74 9109513 opendialog fold;<br />
#B color 5;<br />
#P newex 306 171 112 9109513 print name_Of_Directory;<br />
#P newex 272 148 44 9109513 zl ecils 1;<br />
#P newex 245 126 66 9109513 regexp (\\w)*;<br />
#P connect 3 0 0 0;<br />
#P connect 1 1 2 0;<br />
#P connect 0 2 1 0;<br />
#P connect 4 0 3 0;<br />
#P window clipboard copycount 5;</p>
<p>to get name of mother ship, but it would be great if ubumenu would support<br />
relative paths, or does it?</p>
<p>suppose i want to address<br />
-root<br />
&#8211;folder_a<br />
i currently need to get the path of patch and add the reletive folder using<br />
sprintf, like robert z said</p>
<p>&#8220;my solution is this abstraction called &#8220;search_path&#8221; it is used thusly:;</p>
<p>[closebang]->[searchpath 3 folder_to_search] [closebang]->[searchpath 4<br />
2nd_folder_to_search];</p>
<p>the closebang removes the path from the file prefs, the first arg is the<br />
slot to add the path to and the second arg is the name of the folder to add,<br />
which is relative to the main patch (the one which loads the search_path<br />
abstraction). so the directory structure is: /Root/Main_Patch<br />
/Root/search_path /Root/folder_to_search/ /Root/2nd_folder_to_search/;</p>
<p>&#8220;</p>
<p>#P inlet 99 128 15 0;<br />
#P window setfont &#8220;Sans Serif&#8221; 9.;<br />
#P window linecount 1;<br />
#P message 107 79 90 9109513 $2;<br />
#P newex 39 29 48 9109513 loadbang;<br />
#P newex 18 215 14 9109513 _;<br />
#P button 18 131 15 0;<br />
#P message 99 155 33 9109513 clear;<br />
#P newex 39 129 51 9109513 tosymbol;<br />
#P newex 39 107 78 9109513 sprintf %s%s/;<br />
#P message 18 238 222 9109513 ./patches;<br />
#P newex 39 155 57 9109513 prepend set;<br />
#P message 39 55 29 9109513 path;<br />
#N thispatcher;<br />
#Q end;<br />
#P newobj 39 78 61 9109513 thispatcher;<br />
#P newex 18 192 93 9109513 filepath search $1;<br />
#P connect 11 0 5 1;<br />
#P fasten 10 0 8 0 44 50 23 50;<br />
#P connect 10 0 2 0;<br />
#P fasten 10 0 11 0 44 50 112 50;<br />
#P connect 12 0 7 0;<br />
#P connect 6 0 3 0;<br />
#P connect 5 0 6 0;<br />
#P fasten 1 1 5 0 95 101 44 101;<br />
#P connect 2 0 1 0;<br />
#P connect 9 0 4 0;<br />
#P connect 0 0 9 0;<br />
#P fasten 7 0 0 0 104 180 23 180;<br />
#P connect 8 0 0 0;<br />
#P fasten 3 0 0 0 44 184 23 184;<br />
#P window clipboard copycount 13;</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/relative-directories-in-ubumenu-and-in-general/#post-130382</guid>
					<title><![CDATA[Re: relative directories in ubumenu, and in general]]></title>
					<link>http://cycling74.com/forums/topic/relative-directories-in-ubumenu-and-in-general/#post-130382</link>
					<pubDate>Sun, 11 May 2008 20:27:48 +0000</pubDate>
					<dc:creator>yair reshef</dc:creator>

					<description>
						<![CDATA[
						<p>and there is a problem with the second abxhation, there is no precedence for<br />
filepath on anything, so i cant count on this to load before a nested file.</p>
<p>On Sun, May 11, 2008 at 10:22 PM, yair reshef <yair99 @gmail.com> wrote:</yair99></p>
<p>> hi ppl, whats the current state of things?<br />
> there  were a couple of good threads and workarounds posted, i currently<br />
> use<br />
><br />
> #P button 245 67 15 0;<br />
> #P window setfont &#8220;Sans Serif&#8221; 9.;<br />
> #P window linecount 1;<br />
> #P newex 245 101 74 9109513 opendialog fold;<br />
> #B color 5;<br />
> #P newex 306 171 112 9109513 print name_Of_Directory;<br />
> #P newex 272 148 44 9109513 zl ecils 1;<br />
> #P newex 245 126 66 9109513 regexp (\\w)*;<br />
> #P connect 3 0 0 0;<br />
> #P connect 1 1 2 0;<br />
> #P connect 0 2 1 0;<br />
> #P connect 4 0 3 0;<br />
> #P window clipboard copycount 5;<br />
><br />
> to get name of mother ship, but it would be great if ubumenu would support<br />
> relative paths, or does it?<br />
><br />
> suppose i want to address<br />
> -root<br />
> &#8211;folder_a<br />
> i currently need to get the path of patch and add the reletive folder using<br />
> sprintf, like robert z said<br />
><br />
> &#8220;my solution is this abstraction called &#8220;search_path&#8221; it is used thusly:;<br />
><br />
> [closebang]->[searchpath 3 folder_to_search] [closebang]->[searchpath 4<br />
> 2nd_folder_to_search];<br />
><br />
> the closebang removes the path from the file prefs, the first arg is the<br />
> slot to add the path to and the second arg is the name of the folder to add,<br />
> which is relative to the main patch (the one which loads the search_path<br />
> abstraction). so the directory structure is: /Root/Main_Patch<br />
> /Root/search_path /Root/folder_to_search/ /Root/2nd_folder_to_search/;<br />
><br />
> &#8220;<br />
><br />
> #P inlet 99 128 15 0;<br />
> #P window setfont &#8220;Sans Serif&#8221; 9.;<br />
> #P window linecount 1;<br />
> #P message 107 79 90 9109513 $2;<br />
> #P newex 39 29 48 9109513 loadbang;<br />
> #P newex 18 215 14 9109513 _;<br />
> #P button 18 131 15 0;<br />
> #P message 99 155 33 9109513 clear;<br />
> #P newex 39 129 51 9109513 tosymbol;<br />
> #P newex 39 107 78 9109513 sprintf %s%s/;<br />
> #P message 18 238 222 9109513 ./patches;<br />
> #P newex 39 155 57 9109513 prepend set;<br />
> #P message 39 55 29 9109513 path;<br />
> #N thispatcher;<br />
> #Q end;<br />
> #P newobj 39 78 61 9109513 thispatcher;<br />
> #P newex 18 192 93 9109513 filepath search $1;<br />
> #P connect 11 0 5 1;<br />
> #P fasten 10 0 8 0 44 50 23 50;<br />
> #P connect 10 0 2 0;<br />
> #P fasten 10 0 11 0 44 50 112 50;<br />
> #P connect 12 0 7 0;<br />
> #P connect 6 0 3 0;<br />
> #P connect 5 0 6 0;<br />
> #P fasten 1 1 5 0 95 101 44 101;<br />
> #P connect 2 0 1 0;<br />
> #P connect 9 0 4 0;<br />
> #P connect 0 0 9 0;<br />
> #P fasten 7 0 0 0 104 180 23 180;<br />
> #P connect 8 0 0 0;<br />
> #P fasten 3 0 0 0 44 184 23 184;<br />
> #P window clipboard copycount 13;<br />
><br />
></p>
						]]>
					</description>

					
					
				</item>

					
		
	</channel>
	</rss>

