Quote: Emmanuel Jourdan wrote on Mon, 09 July 2007 11:16
> ; max launchbrowser file:///Applications/Flash.exe
like: ; max launchbrowser file:///C:/playlist.exe ?
indeed he nothing do not execute, but also not give error
Could you please write your posts in both russian and english, I
might have better luck understanding them...
On Jul 20, 2007, at 10:18 AM, outoff wrote:
> hitherto can not copes with problem
> necessary that max/msp should start by turns flash-movies, but I
> even one can not start
> please help!
> i'm works on WindowsXP/Vista
> sergey komarov
Good! As for closing flash player from max, it won't be too easy as
far as I know.
If you know the exact file name of the executable you want to close,
you could use taskkill command line util(f.e. taskkill /F /IM
Type taskkill /? in xp command prompt to see it's parameters.
I have a problem with ";max launchbrowser" I can run an app made in openframeworks, but it runs as a background process and it crash when I start to send messages to it. If I open by hand as a front app the app goes just well and clean.
Thanks for the help
I'm not sure if those objects work for current versions of Max(you could try), but currently, there might not be a clear answer to your problem: times have changed, and they probably require a new set of experimentation/development/tools/expertise.
As for the earlier post about ";max launchbrowser" working with 'OpenFrameworks'(but not very well), i doubt that was anything intentionally designed to work with Max, nor its 'launchbrowser' command, by Cycling74(the user, "Dalmazzo" sounds like he tried experimenting with it, but never made it work in a fully functional way, and only got it to launch, probably by accidental luck).
There you will also notice that there are other messages which sound like they could work in opening files and apps, but instead are designed specifically for max-related files only(for delineating paths to the Max application itself, for opening patcher files, or for linking external names to their corresponding files, etc.)... and if you think about it, this is actually a good thing: if there were an easy way to open up any kind of file or app using Max, it could be disastrous to the overall Max ecosystem as anyone would be able to use the pretense of sharing Max patches to infect systems with viruses or malware.
I could be wrong, though :)
Either way, hope it helps clarify some things about this thread.
à votre santé
Many thanks, Raja,
typing on a phone right now as I am on the road. I need to do more testing but I managed to launch ableton live with the ;max launchbrowser message, with the help of some code posted above. But still no luck with targeting a .als file. I believe it could be just a matter of syntax to target a file somewhere in my HD (example path given above).
In case anybody is interested, here is the patch i came up with.
You can drop up to 20 files, and load them sequentially via MIDI note or CC. You can save setlists as txt files, and drop setlists to load them. You can save the MIDI "next" assignment within the patcher (this will save the MIDI device as well).
I use it to remotely load Ableton Livesets, but it should work with any files.
no accents though. It does the error 43 with a file like "file:// David Douillet:/Ableton Live Projects/Acoustic/Ambigu Project/Cool.als"
There is a space before my hard drive's name. Could this be the issue?
it's weird because something like "file:// Jean-Brigitte:/Users/FLO/Desktop/test.png" works fine (with the extra space after file:// and the extra colon)
but something like "file:// David Douillet:/Max Projects/test.png" doesn't work.
Removing the extra space and extra colon doesn't make a difference.
Maybe the command [; max launchbrowser] only works on the same drive as the one Max is installed on?
Are you guys able to load files that are not located on the same drive as Max? Or like external drives?