Forums > MaxMSP

Help creating custom help files to include in a patch


DJF
May 12, 2012 | 12:49 pm

I would like to includes help buttons in my patch, whereby a user could click on it and read a text document containing some instructions. Is there a way to do this?

At present, I am using [open] [text 'and then the file name.txt] but the text file opens in the Max text window with the numbered lines – I just want a plain text document.


May 12, 2012 | 3:41 pm

One way is to have a subpatch with the help text in it (in one or more comment objects for example) . Check [thispatcher] especially the ‘front’ and ‘window’ messages.


May 12, 2012 | 6:55 pm

If you want the user’s default text program to open your text file, use the message to max:

;max launchbrowser name.txt

The "browser" part is a little misleading—it can open a browser if you send it an URL, but if you specify a filetype, it should open with the default application specified in the OS preferences.


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