Forums > Dev

custom text completion/description and tags for custom external

August 29, 2013 | 3:12 am

Hi,
With built-in objects, when you begin writing a message near that object, autocompletion will prompt you with relevant messages. I would like to have the same behaviour with a custom external. It would be very handy for an external to which you can send a lot of different messages. Is it possible ? if so, how ?


August 31, 2013 | 5:56 am

soooo… is my question not clear, or really noone has an answer ? :/


August 31, 2013 | 1:27 pm

You need to write reference files. There’s not a lot of information about that at this point but if you look at the tap.tools for instance this should give you some hints.


August 31, 2013 | 3:23 pm

Ok, thanks a lot for the link
(…buuut, tap tools, weren’t they priced software ? or did that change ?)


August 31, 2013 | 4:40 pm

(nevermind the question between parenthesis, i found the answer there : the story of tap tools. Out of topic, but currently i’m sad because i can’t install latest tap tools nor jamoma on osx 10.6.8. And as they distribute only automatic installers for older versions, it’s a pain getting it to work on max 6.1.3 which is still separated from 6.0.8 on my machine. Life is hard sometimes. )


September 3, 2013 | 2:15 pm

(i could install the things by renaming max folders. Now need to go through those tap tools 4 sources without beeing able to use them. I have hope though )


September 3, 2013 | 3:09 pm

So, writing "standard" reference files should be enough to ensure that magical autocompletion will appear ?


September 6, 2013 | 8:09 pm

yes


May 19, 2014 | 6:36 pm

I found this not to be the case for writing a Max 6 package (max 6.1.6). I have reference files that work beautifully, but do not work with text autocompletion. The solution I found was placing the .maxpat files into the mypackage > patchers directory. You cannot place them in a subdirectory (e.g. mypackage > patchers > subdir will not work). No reference file needed.

I found that Jamoma uses its init file for adding clippings, which are buried in subdirectories. I don’t have any way to know that this adds any autocompletion, however.
max db.addmetadata jmod.clip.10harmonics~ clipping tag Jamoma;
max db.addmetadata jmod.clip.10harmonics~ clipping tag "audio module";


May 19, 2014 | 6:57 pm

Figured it out with myinit.txt file, placed inside mypackage > init directory.
example line:
max db.addvirtual alias jit.pass jit.op;

where jit.pass is the alias that you type in and jit.op is the object that will appear.


July 21, 2014 | 10:52 am

The "db.addvirtual" message to Max is obsolete and will be going away in future versions of Max. It also slows the launch of Max down on every launch of the application. I highly advise making ref pages as suggested above.

Cheers


July 22, 2014 | 5:46 am

Thanks Timothy. I’ve since deleted all lines of ‘db.addvirtual’, restarted Max (running 6.1.7), and all is fine. I do have docs > refpages and help files inside my package.

I have attached my Max package as reference for anyone following this thread who is into writing refpages, since this process took me some time to finger out, and documentation was scattered.

Attachments:
  1. jpb-0.0.4.zip

July 22, 2014 | 8:39 pm

Thanks. I have learned a lot more problems joining the forums.

—————————————————————————————————-
My name’s Phuc . I love ve may bay & ve may bay gia re


Viewing 13 posts - 1 through 13 (of 13 total)