Internal Max messages
I seem to remember people mentioning various in-patch messages that you can use to communicate with Max; for example, to open a URL in your default browser. I tried searching the documentation, but couldn't find a list of these messages anywhere. Does anyone know if such a list exists?
In particular, I am wondering if it is possible to open the DSP status and MIDI setup windows using Max messages rather than by clicking the Options menu.
After some experimenting, I found that
";
max dspstatus" opens the DSP status window
and
";
max midisetup" opens the MIDI setup window.
Are there any other useful commands?
You should find those message in Max' documentation (look at the colored right frame in the help main window), and as always also online:
https://cycling74.com/docs/max5/vignettes/core/messages_to_max.html
https://cycling74.com/docs/max5/vignettes/core/messages_to_dsp.html
https://cycling74.com/docs/max5/vignettes/core/messages_to_jitter.html
p
colors (max v4) and sheduler settings are a bit dangerous ones.
menubar, redraw window, and cleaning the dirty bit are quite useful.
Thank you both. I did try searching the documentation... I searched for "Max messages" and that vignette did not come up (at least not in Max... I didn't try searching in the online docs), which is interesting because the name of the vignette is "Controlling Max with messages." I guess it searches for exact phrases only. Anyways, lots of useful new messages... thanks!
also note that the ;max launchbrowser doesn't necessarily always open a Web browser, it'll open whatever app the OS is configured to open the file or URL. (At least that's been my experience.) So a "mailto" will open the default mail client, a .txt file would launch TextEdit or whatever, or you can open other .app or .exe programs directly. Very handy!