Page 2 of 2

Re: Live API : Copy Paste?

Posted: Sat Mar 20, 2010 9:31 pm
by 3dot...
^^ yeah.. totally agree..
I'm still learning Max/4l.. and that's the part where what's absent stands out more..
when you already 'know' the tools well .. you're more aware of the limitations.. and know where NOT to go..
yeah ..here's to hoping for an all-encompasing live platform in 2012 ( 8O ..if there is no Mayan apocalypse..)

Re: Live API : Copy Paste?

Posted: Sun Mar 21, 2010 12:27 am
by bulo
Keystroke emulation is easy with the aka.keyboard external. http://www.iamas.ac.jp/~aka/max/#aka_keyboard

Re: Live API : Copy Paste?

Posted: Sun Mar 21, 2010 8:32 am
by 3dot...
bulo wrote:Keystroke emulation is easy with the aka.keyboard external. http://www.iamas.ac.jp/~aka/max/#aka_keyboard
..been there...
not for windows...
thx...

Re: Live API : Copy Paste?

Posted: Sun Mar 21, 2010 8:41 am
by julienb
I guess I'm not helping here but..
instead of always waiting for THE tool that fits exactly our need, consider to use mouse for this very easy copy/paste. no?
I mean, API is nice. But it must not be the thing that polarize us on it.
screen/mouse are very fine for a lot of operation.
we can try to:
- twist the tool (it could work!)
- ask new feature (it is interesting too)
but we don't have to forget basic interface can be use at the same time.



(those who know me know well I'm still VERY interested by new feature, testing thing, customizing etc... I just want to add my 2 cents here about using interfaces)

Re: Live API : Copy Paste?

Posted: Sun Mar 21, 2010 10:41 am
by bulo
Maybe you can do a keyboard simulator with the "spell" object?
I'm at work, so I didn't try yet.

Re: Live API : Copy Paste?

Posted: Sun Mar 21, 2010 10:45 am
by julienb
bulo wrote:Maybe you can do a keyboard simulator with the "spell" object?
I'm at work, so I didn't try yet.
workaround or not workaround?! :)

I'm kidding!

Re: Live API : Copy Paste?

Posted: Sun Mar 21, 2010 12:45 pm
by 3dot...
bulo wrote:Maybe you can do a keyboard simulator with the "spell" object?
I'm at work, so I didn't try yet.
hmmm... I'll try it when I get home ..THANKS !

hit me up if you have other suggestions..
I'm sure it's doable using the Java classes..maybe with 'processing'..
but that will require a weekend to research this..
maybe someone can come up with a windows native solution like aka.keyboard using C/C++..

Re: Live API : Copy Paste?

Posted: Sun Mar 21, 2010 1:56 pm
by bulo
bulo wrote:
Maybe you can do a keyboard simulator with the "spell" object?
I'm at work, so I didn't try yet.

Quote:
http://cycling74.com/docs/max5/refpages ... spell.html


workaround or not workaround?!

I'm kidding!
Oh yeah, ok!
Mmm...that's gonna be painfull :lol:

I remember someone post a clip deleter m4l device for windows; but it probably needs a midiyoke also. I don't remember well, but it's on maxforlive.com

Re: Live API : Copy Paste?

Posted: Sun Mar 21, 2010 11:08 pm
by Twigg
bulo wrote:Keystroke emulation is easy with the aka.keyboard external. http://www.iamas.ac.jp/~aka/max/#aka_keyboard
Though thisvis cool, and I wish it worked for windows, it does however not address the VERY first point when I started this post.

There is a 100% crash in M4L when you use Copy/Paste via Ctrl-C/Ctrl-V.
However if you use Mouse and do Ctrl/drag and drop, it will copy successfully.

Any form of keyboard emulation is useless. I need a direct API call to circumvent the whole copy paste. The api is good but it doesn't support New Clip, or Copy Envelopes...

Re: Live API : Copy Paste?

Posted: Mon Mar 22, 2010 12:28 am
by bulo
it does however not address the VERY first point when I started this post.
Oh yes, sorry. I've totally miss that. Plus, I had switched on 3dot...'s problem. :)
Actually, I didn't even notice you were here :lol:
:arrow:

(Why do you need to switch to midi map mode just after copying a midi clip? Is the crash also happen if you're doing things between the cmd-C and cmd-M?)
Edit: Ok; I've just try and... it's a very annoying bug! And to answer my own question... it also crashes when the cmd-C cmd-M are not consecutive.
It's a big fucking bug.

Re: Live API : Copy Paste?

Posted: Mon Mar 22, 2010 3:55 am
by Twigg
bulo wrote: It's a big fucking bug.

Ya. Once you press ctrl-c, its a ticking time bomb until you hit ctrl-m to chamge your assignment which I do all the time.