Forums > Jitter

Open URL / HTTP browser in Max/Jitter

February 6, 2007 | 6:35 am

I’m trying to find a way to open URL (and ideally launch a browser in the process) with Max/Jitter on Intel Mac.

LaunchURL external does this, but not on Intel Mac. mxj.syscommand would let me exec a script to do it, but again not on Intel Mac. jit.uldl can upload FTP but not HTTP.

Any suggestions would be greatly appreciated.

Thanks!

Jeff


February 6, 2007 | 6:50 am

This works:

#P window setfont "Sans Serif" 9.;
#P window linecount 2;
#P message 517 678 199 196617 ; max launchbrowser http://www.lua.org/;
#P window clipboard copytext ";
max launchbrowser http://www.lua.org/" #E;
#P window clipboard copycount 1;

wes


February 6, 2007 | 3:07 pm

Thanks Wes! While this does work with a hardwired URL, I need to specify different URLs on the fly. Essentially, I need a way to specify the URL as a variable. I’ve experimented with using a message box containing a URL at the input to the ; max message with $1, but it doesn’t seem to work. Any suggestions?

Thanks again!

Jeff


February 6, 2007 | 3:22 pm

You could compose your message using sprintf, bang it with prepend set
connected to sprintf’s output to place it in a message box, subsequently
bang the messagebox

>
> Thanks Wes! While this does work with a hardwired URL, I need to specify
> different URLs on the fly. Essentially, I need a way to specify the URL as
> a variable. I’ve experimented with using a message box containing a URL at
> the input to the ; max message with $1, but it doesn’t seem to work. Any
> suggestions?
>
> Thanks again!
>
> Jeff
> –
> http://www.jeffreypaulburger.com
> http://www.jpburger.com
>


February 6, 2007 | 4:47 pm

Check out p. 22 of Javascript in Max. You can use this JS script and
patch to do what you want.

#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#P newex 186 218 76 196617 prepend launch;
#P newex 186 242 52 196617 js http.js;
#P button 186 150 15 0;
#P message 302 173 26 196617 com;
#P message 244 173 54 196617 cycling74;
#P message 186 173 34 196617 www;
#P newex 186 194 126 196617 sprintf http://%s.%s.%s;
#P connect 4 0 1 0;
#P connect 1 0 0 0;
#P connect 0 0 6 0;
#P connect 6 0 5 0;
#P fasten 4 0 2 0 191 169 249 169;
#P connect 2 0 0 1;
#P fasten 4 0 3 0 191 169 307 169;
#P connect 3 0 0 2;
#P window clipboard copycount 7;

——————-http.js———————————–

function launch(val)
{
max.launchbrowser(val);
}


February 6, 2007 | 6:03 pm

On Feb 6, 2007, at 7:07 AM, Jeff Burger wrote:

>
> Thanks Wes! While this does work with a hardwired URL, I need to
> specify different URLs on the fly. Essentially, I need a way to
> specify the URL as a variable. I’ve experimented with using a
> message box containing a URL at the input to the ; max message with
> $1, but it doesn’t seem to work. Any suggestions?

text
|
[send max]

-Joshua


February 6, 2007 | 6:27 pm

> text
> |
> [send max]

I tried that and I got an error saying [send max] already existed with
the result that the object I created had no inlets.

wes


February 6, 2007 | 6:52 pm


February 6, 2007 | 7:10 pm

On Feb 6, 2007, at 10:27 AM, Wesley Smith wrote:

>> text
>> |
>> [send max]
>
> I tried that and I got an error saying [send max] already existed with
> the result that the object I created had no inlets.

Sorry for the misinformation here. Try [forward max]. Example patch
below.

#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#P message 264 94 85 196617 http://www.yunart.org;
#P message 163 94 94 196617 http://www.psi-lord.com;
#P newex 84 136 114 196617 prepend launchbrowser;
#P message 84 94 71 196617 http://www.nlp.com;
#P newex 84 162 69 196617 forward max;
#P fasten 4 0 2 0 269 122 89 122;
#P fasten 3 0 2 0 168 122 89 122;
#P connect 1 0 2 0;
#P connect 2 0 0 0;
#P window clipboard copycount 5;

-Joshua


February 6, 2007 | 7:23 pm

Great. Easier to use than [sprintf] to make a ; message.

> Sorry for the misinformation here. Try [forward max].


February 6, 2007 | 7:57 pm

psi… lord?

So does this mean I have to buy a $200 "Double Crystal Power Ring" in
order to master Jitter?

"A Psi-Lord has total control over the Matrix. What makes him
different from a Psi-Master is that he has gone beyond knowledge,
reaching the position of silent knowledge where he knows everything.
To reach this position of the assemblage point one needs only one
thing – power. Total ruthlessness of spirit is required, not to
achieve power, but to stop power being bled from the Psi-Master by
him/her donating energy to poor souls in need of energy. A Psi-Lord
never gives energy to anyone under any circumstances, only giving
them access to energy via psychotronic amplifiers which feed off the
Matrix – weakening it for Psi-Masters only…"

On Feb 6, 2007, at 2:10 PM, Joshua Kit Clayton wrote:

>
> Sorry for the misinformation here. Try [forward max]. Example patch
> below.
>
> #P window setfont "Sans Serif" 9.;
> #P window linecount 1;
> #P message 264 94 85 196617 http://www.yunart.org;
> #P message 163 94 94 196617 http://www.psi-lord.com;
> #P newex 84 136 114 196617 prepend launchbrowser;
> #P message 84 94 71 196617 http://www.nlp.com;
> #P newex 84 162 69 196617 forward max;
> #P fasten 4 0 2 0 269 122 89 122;
> #P fasten 3 0 2 0 168 122 89 122;
> #P connect 1 0 2 0;
> #P connect 2 0 0 0;
> #P window clipboard copycount 5;
>
>
> -Joshua

v a d e //

http://www.vade.info
abstrakt.vade.info


February 6, 2007 | 8:11 pm

Oops,
It appears JKC let the cat out of the bag. Just be careful to avoid
Graham Nickells aka Paul Hughes Barlow, as his crystals will apparently
drive you mad, make you ill, and are part of an evil plot by the UK and
US government to confuse the populace about the powers of psi-technology.

AB


February 6, 2007 | 8:14 pm

On Feb 6, 2007, at 11:57 AM, vade wrote:

> psi… lord?

Dig deeper my child. You have not yet even scratched the surface.

-Joshua


February 6, 2007 | 8:28 pm

Thank god that we have this service however:

"If you have bought any of these poisoned crystals, talismans…
amulets, I have designed an anti occult/anti demon pc to cleanse
these poor people of occult poisons and entities. This full spectrum
cleansing PC costs $70 plus $10 p&p"

Ok. ill stop. Well played gentlemen.. well.. played…

On Feb 6, 2007, at 3:11 PM, andrew benson wrote:

> Oops,
> It appears JKC let the cat out of the bag. Just be careful to avoid
> Graham Nickells aka Paul Hughes Barlow, as his crystals will
> apparently
> drive you mad, make you ill, and are part of an evil plot by the UK
> and
> US government to confuse the populace about the powers of psi-
> technology.
>
> AB
>

v a d e //

http://www.vade.info
abstrakt.vade.info


February 6, 2007 | 8:30 pm

>Oops,
>It appears JKC let the cat out of the bag. Just be careful to avoid
>Graham Nickells aka Paul Hughes Barlow, as his crystals will apparently
>drive you mad, make you ill, and are part of an evil plot by the UK and
>US government to confuse the populace about the powers of psi-technology.

All I know is that this charm-bracelet thing can turn on
the radio at ear-splitting volume in SUVs remotely, make
dogs pee right where they’re standing, bend lunchmeat,
and get me automatic upgrades to business class on
Greyhound buses. Joshua told me never to wear it
anywhere in a restaurant or hotel where they were hosting
speed dating, but that’s not been a problem. The matching
cufflinks don’t appear to do anything, though.

on the floor there’s a long wooden table/on the table there’s an open book/
on the page there’s a detailed drawing/and on the drawing is the name I took
Gregory Taylor http://www.rtqe.net


February 6, 2007 | 8:55 pm

I wonder – Gregory , is the "Double Crystal Power Ring" related in
anyway to those rotating and pulsing tori and their mystical psychic
effects?
*cough*

On Feb 6, 2007, at 3:30 PM, Gregory Taylor wrote:
> All I know is that this charm-bracelet thing can turn on
> the radio at ear-splitting volume in SUVs remotely, make
> dogs pee right where they’re standing, bend lunchmeat,
> and get me automatic upgrades to business class on
> Greyhound buses. Joshua told me never to wear it
> anywhere in a restaurant or hotel where they were hosting
> speed dating, but that’s not been a problem. The matching
> cufflinks don’t appear to do anything, though.

v a d e //

http://www.vade.info
abstrakt.vade.info


February 6, 2007 | 8:57 pm

Some years ago I was working in a DTP studio, and once we had local
eccentric painter as a customer, sitting next to me and telling me
where to place things. And as if that was not annoying enough – the
machine crashed frequently, until he said: Look, I have this crystal
in my pocket, people say it causes bad things to computers, let me
take it out.
He took a huge stone out of his pocket, and placed it outside.
Computer stopped crashing. I’ll never know…

On Feb 6, 2007, at 9:11 PM, andrew benson wrote:

> Oops,
> It appears JKC let the cat out of the bag. Just be careful to avoid
> Graham Nickells aka Paul Hughes Barlow, as his crystals will
> apparently


February 6, 2007 | 9:04 pm

>I wonder – Gregory , is the "Double Crystal Power Ring" related in
>anyway to those rotating and pulsing tori and their mystical psychic
>effects?
>*cough*

Gosh, that’d be asking me whether I believe that all forms
of enfeeblement are outward manifestations of some
common inner state. I will say this, though – the number of
bent psi-lords at raves is higher than you might imagine.


on the floor there’s a long wooden table/on the table there’s an open book/
on the page there’s a detailed drawing/and on the drawing is the name I took
Gregory Taylor http://www.rtqe.net


July 25, 2007 | 2:04 am

hello all !!
i am trying to build an image browser within max, basically an interface
very similar to the ACDsee one – where you can drag, cut, paste and move
thumbnails of jpg files.
Do someone have a suggestion on how can i achive this? maybe with some
java class???
any help s very very apreciated!!
tnx in adv,
m

_-_-__-_-__-_-__-_-__-_-__-_-__-_-_

kinotek
live media and vjing

Mattia Casalegno
http://www.kinotek.org
mat@kinotek.org
++393332152448
____________________________


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