Hi,
I'm trying to do the following operations in a subpatch only with messages:
I saw the documentation from Damien Henry, but it is partially incomplete
(despite it helps a lot) or not updated.
I understood that it is necessary to do editmode 1, click &(/&$§, cut,
editmode 0. The problem is in the click, that I can't find any clear
reference to the necessary parameters. Is there anyone out there who can
do this?
Thanks,
João Miguel Pais
On Fri, Nov 25, 2005 at 09:32:04PM +0100, João Miguel Pais wrote:
Hi,
I'm trying to do the following operations in a subpatch only with messages:
- select two objects
- cut these objects
I saw the documentation from Damien Henry, but it is partially incomplete
(despite it helps a lot) or not updated.
they are a major hack, 'simulating' the gui via messages. youre better off managing your ojects with dyn[~] or similar
I understood that it is necessary to do editmode 1, click &(/&$§, cut,
editmode 0. The problem is in the click, that I can't find any clear
reference to the necessary parameters. Is there anyone out there who can
do this?Thanks,
João Miguel Pais
-- Lugostr. 14 79100 Freiburg i. Br. Deutschland +49 (0)761 7074997 jmmmp@arcor.de
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
hi joao,
this is from 3.0.events.pd in the pd-msg archiv:
click)
and yeah, this is probably a major hack, but one I cannot live without when and it comes to ui stuff. I just use |x y 0 0(
with kind regards, thoralf.
___________________________________________________________ Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with voicemail http://uk.messenger.yahoo.com
On Fri, 25 Nov 2005, Thoralf Schulze wrote:
this is from 3.0.events.pd in the pd-msg archiv:
- $1: x
- $2: y
- $3: (unuse ???)
- $4 mod (0:nomod; 1 shift; 2 crtl; 3 alt; 4 right
click)
and yeah, this is probably a major hack, but one I cannot live without when and it comes to ui stuff. I just use |x y 0 0(
You must be meaning the "mouse" messages and not the "click" messages.
$3 is supposed to be the button number but is unused. That would be 1=left 2=middle 3=right 4=up 5=down as the convention is on Linux.
then the $4 modifiers are 1=shift 2=ctrl 4=alt and 8=rightclick.
I wouldn't recommend using that interface.
Mathieu Bouchard - tél:+1.514.383.3801 - http://artengine.ca/matju Freelance Digital Arts Engineer, Montréal QC Canada
You must be meaning the "mouse" messages and not the "click" messages.
yes, thanks. it works!
I wouldn't recommend using that interface.
for this simple operation, is quite sucessful. I usually try to avoid
using externals. Not that I have anything against externals (I have almost
all installed), but it is better for compatibility.
Of course dyn~ would be the best toll for this.
Lugostr. 14 79100 Freiburg i. Br. Deutschland +49 (0)761 7074997 jmmmp@arcor.de
and yeah, this is probably a major hack, but one I cannot live without when and it comes to ui stuff. I just use |x y 0 0(
thanks a lot, that's what I was needing. this collection about messages is
nice, but still incomplete. I had already a couple of times asked, but I
ask again: is there any place where the internal messages are listed, or
can be found? I don't have the ability to travel through the innards of
tcl/tk.
greets,
joao
and yeah, this is probably a major hack, but one I cannot live without when and it comes to ui stuff. I just use |x y 0 0(
I just made the message |editmode 1, mouse 20 40 0 0, cut, mouse 20 80 0
0, cut, editmode 0( , which makes exactly what I wanted (cut 2 objects).
But I noticed that when I send this to the patch without the window being
opened, pd crashes. That means that this operation must have a vis 1 / vis
0 around it, right?
It goes well with the visS as well, and so fast that the
appearing/disappearing window isn't seen, but just wanted to check if
there's no other way.
Lugostr. 14 79100 Freiburg i. Br. Deutschland +49 (0)761 7074997 jmmmp@arcor.de
Hi joao,
opened, pd crashes. That means that this operation must have a vis 1 / vis
0 around it, right?
yeah.
It goes well with the visS as well, and so fast that the
appearing/disappearing window isn't seen, but just wanted to check if
there's no other way.
Be aware that if you're creating new abstractions on the canvas this way, pd (and/or) tcl/tk produces a noticeable spike in cpu usage, depending on the complexity (and visiblity - gop?) of the abstraction. I was about to check if lowering the priority of tcl/tk (that's wish8x.exe on win) could alleviate this ... I didn't came up with another less hackery solution so far, apart from completely handing over the gui stuff to another application.
with kind regards, thoralf.
Yahoo! Model Search 2005 - Find the next catwalk superstars - http://uk.news.yahoo.com/hot/model-search/
Be aware that if you're creating new abstractions on the canvas this way, pd (and/or) tcl/tk produces a noticeable spike in cpu usage, depending on the complexity (and visiblity - gop?) of the abstraction. I was about to check if lowering the priority of tcl/tk (that's wish8x.exe on win) could alleviate this
I didn't notice anything. But (for now) I'm just doing the simplest:
delete one object, create it with a new parameter and connect it to a
inlet / outlet. I'll look around anyway.
Joao