[PD-dev] align objects by keyboard shortcut WAS: Finished iemguts' [canvasselect] and a max-toolbox-like proof of concept
Georg Werner
georg at fricklr.de
Tue Jun 30 18:43:08 CEST 2009
hi,
i did an abstraction for aligning objects. thanks to
canvasobjectposition this was not too hard. if you put it in your search
path you can create an [align] object which provides keyboard shortcuts
for left-align and top-align. and i did another option for distribution
in equal distances both x and y.
e.g. press "|" and x for left-align
there is also an undo (hit "ESC") function since such actions are not
undoable with ctrl-z.
@luke: i hope there are some inspirations for your autoconnection patch
inside (it was very inspiring for me)
cheers
georg
IOhannes m zmoelnig schrieb:
> Luke Iannini wrote:
>> Yo all,
>>
>> IOhannes, do you know if it's possible to get and set the coordinates
>> of arbitrary objects simply by index, much like [canvasposition] can
>> do now but including externals etc. where you can't place a
>> [canvasposition] object? This would enable the final piece of
>> maxtoolbox layout stuff, which was Pd's Tidy... function times 10000,
>> and would let me do stuff like "connect the 4 horizontally-aligned
>> selected objects above to the 4 selected objects below" or simply
>> "connect these all top to bottom" with a single keycommand.
>
> do you mean like [canvasobjectposition]?
>
> fgamsdr
> IOhannes
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Pd-dev mailing list
> Pd-dev at iem.at
> http://lists.puredata.info/listinfo/pd-dev
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: align.pd
URL: <http://lists.puredata.info/pipermail/pd-dev/attachments/20090630/bd6bb2b5/attachment.asc>
More information about the Pd-dev
mailing list