<?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: [bugreport] this.patcher.filepath</title>
		<atom:link href="http://cycling74.com/forums/topic/bugreport-this-patcher-filepath/feed" rel="self" type="application/rss+xml" />
		<link>http://cycling74.com/forums/topic/bugreport-this-patcher-filepath/feed</link>
		<description></description>
		<pubDate>Wed, 19 Jun 2013 06:21:03 +0000</pubDate>
		<generator>http://bbpress.org/?v=2.2.4</generator>
		<language></language>

		
														
					
				<item>
					<guid>http://cycling74.com/forums/topic/bugreport-this-patcher-filepath/#post-33984</guid>
					<title><![CDATA[[bugreport] this.patcher.filepath]]></title>
					<link>http://cycling74.com/forums/topic/bugreport-this-patcher-filepath/#post-33984</link>
					<pubDate>Fri, 05 Oct 2007 10:46:37 +0000</pubDate>
					<dc:creator>Thijs Koerselman</dc:creator>

					<description>
						<![CDATA[
						<p>this.patcher.filepath only works in a javascript object that is located in the main patcher window. If you place the js object with the same script in a subpatcher, the attribute seems to return an empty string.</p>
<p>I suspect this might be a known issue, but I can&#8217;t find it in the archives.</p>
<p>(Windows 4.6.3)</p>
<p>-Thijs</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/bugreport-this-patcher-filepath/#post-113968</guid>
					<title><![CDATA[Re: [bugreport] this.patcher.filepath]]></title>
					<link>http://cycling74.com/forums/topic/bugreport-this-patcher-filepath/#post-113968</link>
					<pubDate>Sun, 07 Oct 2007 12:00:47 +0000</pubDate>
					<dc:creator>lists@lowfrequency.or</dc:creator>

					<description>
						<![CDATA[
						<p>this is the same for the thispatcher object itself.  it doesn&#8217;t  <br />
report a filepath from a subpatch.<br />
i think this is expected behavior?  frankly, i&#8217;ve never liked it,  <br />
because it means i can&#8217;t hide the thispatcher object in a subpatch.</p>
<p>cheers<br />
evan</p>
<p>On Oct 5, 2007, at 11:46 AM, Thijs Koerselman wrote:</p>
<p>><br />
> this.patcher.filepath only works in a javascript object that is  <br />
> located in the main patcher window. If you place the js object with  <br />
> the same script in a subpatcher, the attribute seems to return an  <br />
> empty string.<br />
><br />
> I suspect this might be a known issue, but I can&#8217;t find it in the  <br />
> archives.<br />
><br />
> (Windows 4.6.3)<br />
><br />
> -Thijs<br />
></p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/bugreport-this-patcher-filepath/#post-113969</guid>
					<title><![CDATA[Re: [bugreport] this.patcher.filepath]]></title>
					<link>http://cycling74.com/forums/topic/bugreport-this-patcher-filepath/#post-113969</link>
					<pubDate>Sun, 07 Oct 2007 14:51:51 +0000</pubDate>
					<dc:creator>Mattijs</dc:creator>

					<description>
						<![CDATA[
						<p>Quote: thijs.koerselman wrote on Fri, 05 October 2007 12:46<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
> this.patcher.filepath only works in a javascript object that is located in the main patcher window. If you place the js object with the same script in a subpatcher, the attribute seems to return an empty string.<br />
> <br />
> I suspect this might be a known issue, but I can&#8217;t find it in the archives.<br />
> <br />
> (Windows 4.6.3)<br />
> <br />
> -Thijs<br />
> <br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</p>
<p>I assume filepath is only available for patchers that are actually saved to disk, i.e. abstractions and top patchers. </p>
<p>To get the file path of the top patcher from inside a subpatcher you need to traverse up until you reach the top patcher and take the filepath property of that one..</p>
<p>Mattijs</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/bugreport-this-patcher-filepath/#post-113970</guid>
					<title><![CDATA[Re: [bugreport] this.patcher.filepath]]></title>
					<link>http://cycling74.com/forums/topic/bugreport-this-patcher-filepath/#post-113970</link>
					<pubDate>Sun, 07 Oct 2007 16:38:15 +0000</pubDate>
					<dc:creator>Thijs Koerselman</dc:creator>

					<description>
						<![CDATA[
						<p>> To get the file path of the top patcher from inside <br />
> a subpatcher  you need to traverse up until you reach <br />
> the top patcher and take the filepath property of that one..</p>
<p>Ah of course. I guess this.patcher.parentpatcher.filepath will work  then. I&#8217;ll give it a try.</p>
<p>Cheers,<br />
-Thijs</p>
						]]>
					</description>

					
					
				</item>

					
		
	</channel>
	</rss>

