Forums > MaxMSP

drag 'n' drop browseer

February 27, 2006 | 10:34 pm

how is it possible to make a filebrowser capable of drag ‘n’ drop, like the one in Redial ?

has anyone done an external or JSUI object for this ?

it would be great !!!


February 28, 2006 | 8:37 pm

Yes, its called dropfile and is part of the standard Max distribution,
sitting in the objects toolbar. If you search for things like that,
dont’ forget there is a thesaurus in the reference manual (its listed
there under "drag and drop"). I actually made a Max patch out of the
thesaurus. You can find it at cyclings share page place it into the
/patches/extras and find a lot of answers there.
If you miss things in the thesaurus, feel free to either modify it to
your own needs, or send suggestions to me privately.
If somebody has a Jitter thesaurus, or started to do a 3rd party
thesaurus, send it to me, I’ll incorporate it into the patch…

Stefan

[][] [][][] [][] [][][]
[][][][][][][][][][][][][][][]

Stefan Tiedje
Klanggestalter
Electronic Composition
&
Improvisation

/~~~~~
\ /|() ()|
))))) )| | |( \
/// _/)/ )))))
___/ ///

————————-x—-
–_____———–|———–
–(_|_ —-|—–|—–()—-
– _|_)—-|—–()———–
———-()————x—–

14, Av. Pr. Franklin Roosevelt,
94320 Thiais, France
Phone at CCMIX +33-1-49 77 51 72


March 1, 2006 | 12:01 pm

On 28.02.2006, at 21:37, Stefan Tiedje wrote:

>> how is it possible to make a filebrowser capable of drag ‘n’ drop,
>> like the one in Radial ?
>> has anyone done an external or JSUI object for this ?
>
> Yes, its called dropfile and is part of the standard Max
> distribution, sitting in the objects toolbar.

…ehmm… maybe i’m missing something obvious, but there seems to be
no standard max object called dragfile, which would be needed to
build your own drag-and-drop browser…

the dropfile only supports dropping files that are dragged from
within the computer’s desktop.

this is what i asked on 3 september 2004:

> hi,
>
> i was wondering if it would be possible to – next to the
> possibility to
> drag files from the finder into max – implement dragging & dropping
> WITHIN max with the use of mxj…
>
> for example to build a custom browser.
> a kind of counterpart for dropfile (..dragfile ;-)
>
> i imagine it should be a draggable object, that can be associated with
> a message, which then is delivered to a receiving object when
> dropped…
>
> unfortunately, as a total java beginner, i’m totally not capable (yet)
> to attempt this..
>
> has anybody worked on something similar or is planning to do so?
>
> greetings,
>
> jan

i didn’t receive an answer to this, and my java skills didn’t improve
so much over the years, so i have no solution yet.
as a starting point, you could use the in-patcher file browser,
posted by topher a while ago.
this is what he wrote:

> Hi All,
> I cleaned up an example I had of using mxj to control LCD to make an
> interactive UI widget. It is an in-patcher file browsing widget
> inspired by Ableton live. Source code and example patch are included.
> It should be pretty straight forward to modify as well if you need to
> tweak it. Could probably be pretty easily ported to JSUI as well.
> Maybe some of you will find some use for it. Regardless it is an
> interesting example of using Java to control LCD.
>
> It can be found at:
>
> http://www.cycling74.com/share/topher/
>
> ..also it is unsupported ;-)

good luck,

jan klug


March 1, 2006 | 12:50 pm

Have you tried Jhno lcd widgets "drap-n-drop" ?

http://www.cycling74.com/twiki/bin/view/Share/Jhno

I think the radial browser is done that way…

Mathieu Chamagne
http://www.maxobjects.com


March 1, 2006 | 1:41 pm

exectly Jhno’s object i was looking for ;) … i haven’t checked it out yet, but if it is anything like the drag’n'drop in redial…. i’m happy with it…

looking forward to checking it out, when i come home !!

best,

Brian


March 1, 2006 | 3:35 pm

also take a look at the mxj browser by topher in the community/user pages portion of the c74 website.


March 2, 2006 | 12:17 am

Just made a nice drag ‘n’ drop with Tim Place’s Hover object…..

the mxj by Topher could would work nicely with it i think…


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