thispatcher window commands

Learn about building and using Max for Live devices.
Post Reply
Surreal
Posts: 560
Joined: Wed May 17, 2006 1:18 am

thispatcher window commands

Post by Surreal » Sat Jan 29, 2011 9:44 pm

is there a way to use these to resize the device?

Have a panel that is very necessary, but takes up a decent amount of space when not in use. I hide/show it perfectly well with thispatcher, but can't reclaim the space.
(popup would be a bit clumsy)

octopod
Posts: 70
Joined: Wed Aug 05, 2009 8:15 pm

Re: thispatcher window commands

Post by octopod » Sun Jan 30, 2011 12:01 am

I am in the middle of trying to do this too. I found http://cycling74.com/forums/topic.php?id=29942 but that only appears to work in edit mode, not presentation mode.

Will let you know if I find a way. Please do the same if you find one :)

octopod
Posts: 70
Joined: Wed Aug 05, 2009 8:15 pm

Re: thispatcher window commands

Post by octopod » Sun Jan 30, 2011 12:22 am

I'm getting the feeling that the device width can't be changed once you've saved the device. In the "User Interfaces in Max for Live" help page, under "Using a Dynamic Device Width" it says:

"While your Max for Live device patcher window is open for editing, choose Clear Device Width from the View Menu. The next time you save the device, the width in Live will be determined by the contents of your patcher."

Have experimented with moving a live.line using sendbox presentation_rect … It moves but the device doesn't change size.

Hopefully I'm overlooking something. Could someone from Abelton / C74 say if this is possible or not?

octopod
Posts: 70
Joined: Wed Aug 05, 2009 8:15 pm

Re: thispatcher window commands

Post by octopod » Sun Jan 30, 2011 12:37 am

Just thinking if you *could* do this someone would have made a device that hooked up device width to an envelope follower by now :)

Surreal
Posts: 560
Joined: Wed May 17, 2006 1:18 am

Re: thispatcher window commands

Post by Surreal » Sun Jan 30, 2011 3:55 am

to be clear, you can have a popout. i have done this already.

I send "window size x y (current_width - width_of_myObject) 169, window exec, script hide myObject" to a [thispatcher] and myObject hides but the space just sits there empty.

synnack
Posts: 2053
Joined: Fri Mar 02, 2007 10:55 pm
Location: Boston, MA
Contact:

Re: thispatcher window commands

Post by synnack » Sun Jan 30, 2011 12:45 pm

octopod wrote:Just thinking if you *could* do this someone would have made a device that hooked up device width to an envelope follower by now :)
:-D
MBP | Live 9 Suite | Max for Live | Push | MOTU Ultralite | iPad | Analog Modular Synths | Moog Voyager
aka "Tempus3r" | Music | Blog | Twitter | Soundcloud

Image

Surreal
Posts: 560
Joined: Wed May 17, 2006 1:18 am

Re: thispatcher window commands

Post by Surreal » Tue Feb 01, 2011 11:09 pm

no dice, eh?

pukunui
Posts: 405
Joined: Thu Jan 29, 2009 10:26 pm
Location: Los Angeles

Re: thispatcher window commands

Post by pukunui » Wed Feb 02, 2011 2:24 am

No you cannot modify the device width on the fly.

Lots of things are set in stone when the device loads.

You should still be able to have fun with stuff which isn't related to the device or parameters though, like object positions and stuff

-A

Surreal
Posts: 560
Joined: Wed May 17, 2006 1:18 am

Re: thispatcher window commands

Post by Surreal » Wed Feb 02, 2011 4:55 am

well look at that. pukunui === Andrew Pask. silly me. I thanked you 'both' somewhere.

Post Reply