Forums > MaxMSP

";launchbrowser" file path on DVD and USB.

April 22, 2010 | 4:23 pm

Hi all,

I am using the ;launchbrowser function to open a processing sketch from within Max. All works fine on my computer.

However, I am presenting the project on DVD and USB media, and so my problem is how to change the file path so that it works from DVD.

I have tried simply using the name of the USB device and resultant path but that doesn’t work. Like this:

;
max launchbrowser file:///USBDevice/Folder1/File.app

Any help would be much appreciated.

Thanks in advance.


April 23, 2010 | 5:48 pm

Try this:

;
max launchbrowser "file://localhost/Volumes/USBDevice/Folder1/File.app"

HTH,
Phil


April 23, 2010 | 6:04 pm

I’ve got a similar issue — but on Windows. On OSX I can "show" a folder by issuing the message:

;
max launchbrowser "file:///Volumes/MyFolder/"

But when I do something similar on windows — say:

;
max launchbrowser "file://C:Program Files"

Nothing happens. Is it possible to open a folder on Windows in this way? It works quite nicely on a Mac.


April 25, 2010 | 11:41 am

Brilliant, works perfectly.

Thank you very much Phil.


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