[jitter] Re: Re: Re: Re: announce: p.jit.gl tools
pelado
pelado-mail at pelado.co.uk
Wed Aug 1 04:51:40 MDT 2007
- Previous message: [jitter] Re: Re: Re: Re: announce: p.jit.gl tools
- Next message: [jitter] Re: Re: Re: Re: announce: p.jit.gl tools
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
one of the potential problems with robtherich's suggestion is that you might inadvertently change someone's searchpath permanently to reflect the new settings. if you use 0 or no number as the second argument to filepath then the search path is not saved in the max preference file, so it is truly temporary, or at least till the preference is changed or max is shut down. one way to approach the issue is in the patch below. if you take the p.jit.gl.tools folder out of your search path, place this patch in it and open it first, you can then direct people to launch patches that reside in the folder and have subpatches in a subfolder. of course, there is still an intermediate stage to getting to the patch. maybe javascript has a way of ensuring that the search path is adjusted before the rest of your main patch is loaded? pelado max v2; #N vpatcher 52 44 377 369; #P window setfont "Sans Serif" 9.; #P window linecount 1; #P newex 19 80 47 196617 pcontrol; #P newex 19 55 66 196617 prepend load; #P newex 17 219 51 196617 tosymbol; #P message 19 32 86 196617 p.jit.gl.tools.help; #P newex 17 175 51 196617 tosymbol; #P newex 17 198 122 196617 sprintf %sp.jit.gl.tools /; #P newex 17 241 78 196617 prepend append; #P newex 17 262 86 196617 filepath search; #P newex 19 106 64 196617 loadbang; #P message 19 127 29 196617 path; #N thispatcher; #Q end; #P newobj 19 148 64 196617 thispatcher; #P window linecount 6; #P comment 138 44 100 196617 place in the p.jit.gl.tools folder that is outside the max search path. open first and click on the help message; #P fasten 1 1 7 0 78 170 22 170; #P connect 7 0 6 0; #P connect 6 0 9 0; #P connect 9 0 5 0; #P connect 5 0 4 0; #P connect 8 0 10 0; #P connect 10 0 11 0; #P connect 3 0 2 0; #P connect 2 0 1 0; #P pop; -- http://www.pelado.co.uk
- Previous message: [jitter] Re: Re: Re: Re: announce: p.jit.gl tools
- Next message: [jitter] Re: Re: Re: Re: announce: p.jit.gl tools
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
