"js: can't find file" error and .. -- I have resolved my M4L beginners problems

knak's icon

( Win7 - working in M4L )

Problem 1: js file not found
Fix 1) add the Ableton User Library Path to Max/Options/File Preferences
==> now the js files ara beeing found an I can create new js objects and connect them with the js-file. ( I need more than wone js instances of the same js-file )

Problem 2: When I edit the js behind one of ky js objects the other ones are not beeing updated yet.
Fix 2) Just close the max window and reopen. ( the ableton set can stay loaded )
Kind regards from
knak

Jan M's icon

for your second problem:

if you put autowatch = 1; in the global scope (right at the top, not inside a function) js files should be reloaded automatically as soon as they are edited (even with an external editor).