XML Feeds

.

[javascript-dev] Re: setting up inlets and outlets

Emmanuel Jourdan c74-mailinglists at e--j.com
Mon May 19 04:02:09 MDT 2008


On 19 mai 08, at 11:48, Glen wrote:

>
> Yeah, I seem to have path problems. When I loaded MAX at the start  
> of the day, it could not identify the script at all.
>
> When I make a parent patcher referencing my script, that script is  
> missing. However, if I close and reload the parent patcher, my  
> script appears OK.
>
> Could someone please explain because I have an open-book exam in a  
> couple of hours and speeeeeeed is important :(

The simple (quick and dirty) solution is to save the script in the  
same folder as your main patch:

MyFolder:
	./mypatch.pat (maxpat if it's Max 5)
	./myabstraction.pat
	./myimage.jpeg
	./myjsfile.js

Then you can just name your [js myjsfile.js] and it will find it,  
because the folder containing the main patch is always added  
(temporarily) to the search path.

ej



More information about the javascript-dev mailing list