[PD] drag and drop - tkdnd on osx

Lucas Cordiviola lucarda27 at hotmail.com
Thu Nov 1 21:57:23 CET 2018


I'm not sure sure on this but the [object] could probably be done without any .tcl script. (the object don't need the fancy ".pd" opening and "text" thing that the .tcl plugin already does, we just need the "dropped file" thing)

May be is just C code speaking between the [object] and https://github.com/petasis/tkdnd



Mensaje telepatico asistido por maquinas.

On 11/1/2018 4:38 PM, Alexandre Torres Porres wrote:
I'm also thinking of a plain simple compiled object, that could also include the .tcl code. My idea is to use it inside an abstraction and spit the full path/filename.extension - I could use that for samplers

Em ter, 30 de out de 2018 às 08:15, Lucas Cordiviola <lucarda27 at hotmail.com<mailto:lucarda27 at hotmail.com>> escreveu:

Oh Ok, thanks. :)

Mensaje telepatico asistido por maquinas.

On 10/30/2018 7:06 AM, Dan Wilcox wrote:
Sorry, I have no time right now nor use for the plugin. It was only a suggestion.

enohp ym morf tnes
-----------
Dan Wilcox
danomatika.com<http://danomatika.com>
robotcowboy.com<http://robotcowboy.com>


On Oct 30, 2018, at 10:41 AM, Lucas Cordiviola <lucarda27 at hotmail.com<mailto:lucarda27 at hotmail.com>> wrote:


We are about to make a Deken release but we are not totally happy.

Your: companion "drop target" object. Sound amazing!

C code is not for Oliver or Me.

Do you want to give it a try?

We stop the relese?

I have just made a GIT : https://github.com/Lucarda/pd-dnd-plugin/tree/update-v02


--

Mensaje telepatico asistido por maquinas.

On 10/30/2018 5:19 AM, Lucas Cordiviola wrote:

Hi Dan,

We are working on this (attached) with oliver.

Any thoughts?


--

Mensaje telepatico asistido por maquinas.

On 10/30/2018 5:00 AM, Dan Wilcox wrote:
It seems like the plugin could use a companion "drop target" object, like a cnv but registers drops and sends a message like "$arg $arg $arg was dropped on me."

On Oct 29, 2018, at 4:50 PM, pd-list-request at lists.iem.at<mailto:pd-list-request at lists.iem.at> wrote:

Date: Mon, 29 Oct 2018 12:09:46 +0100
From: oliver <oliver at klingt.org<mailto:oliver at klingt.org>>
To: "pd-list at mail.iem.at<mailto:pd-list at mail.iem.at>" <pd-list at mail.iem.at<mailto:pd-list at mail.iem.at>>
Subject: Re: [PD] drag and drop - tkdnd on osx
Message-ID: <334c4325-e6fe-4b8c-103a-8738ac598912 at klingt.org<mailto:334c4325-e6fe-4b8c-103a-8738ac598912 at klingt.org>>
Content-Type: text/plain; charset=UTF-8; format=flowed

hi via Pd-list wrote:
Hi Oliver,

thanks for these examples. They both work great for me! And I have equiped my playlist with Drag’n’Drop. My structure is like this now (parent) -> (GOP-playlist) -> (GOP-track) so i drop the files into the track. Which works great if i place the GOP at margin 0/0. Now i can have several playlists in my parent and all is fine until the window gets scrolled, then the positions are off and drop is recognized at a wrong place.
I just want to point to this problem, and have no clue about a solution since your abstractions worked so well but i didn’t really understand them with all the canvas magic.

it's a really tricky mechanism that needs a lot of info-gathering and
re-calculating. IEMGUT's [receivecanvas] and [canvasposition] objects
are needed in several "nested"-levels to calculate the right
drop-coordinates. it took me a lot of time to figure it out to work more
or less reliably.

so, for the moment, please stick to the convcention to use
margins "0,0" for GOPs and no scrolling in the parent window.

you also want to wait a little for the "official" dnd-plugin release.
ATM we're doing the final tests to make it work on all platforms.

best

oliver

--------
Dan Wilcox
@danomatika<http://twitter.com/danomatika>
danomatika.com<http://danomatika.com>
robotcowboy.com<http://robotcowboy.com>






_______________________________________________
Pd-list at lists.iem.at<mailto:Pd-list at lists.iem.at> mailing list
UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list





_______________________________________________
Pd-list at lists.iem.at<mailto:Pd-list at lists.iem.at> mailing list
UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list



_______________________________________________
Pd-list at lists.iem.at<mailto:Pd-list at lists.iem.at> mailing list
UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20181101/997f2449/attachment-0001.html>


More information about the Pd-list mailing list