default zoom when opening a patch

frostrugo's icon

im interested in knowing how can i save a patch that every time ill open it, it will open on the desired zoom level.

when i make an application from my patches its always too big and correct me if im wrong but theres no zoom option in app...

also if theres an option for the window size and for the default position it will open on the screen, i would like to know that.

thanks!

Luke Hall's icon

Have a look at the the Edit > Scale option from the main menu which I think does what you want. I think patches remember their last saved state when opening but I might be wrong, try using View > Define Fixed Initial Window Location before saving. You can always set the size and position programmatically with [thispatcher] if you need to.

lh

frostrugo's icon

thanks, but none of this work for the zoom level.

is there a command for thispatcher object for that?!

anybody??

Luke Hall's icon

The zoom state is not saved with the patcher, it is for editing only. I think that "Scale" and "Scale Spacing" are your only options. But please, someone, correct me if I'm wrong.

lh

frostrugo's icon

i find it very irritating... and its not logical when im making a patch to put in mind all the time what is the default zoom, and to go back to it every time i wana do graphics editing....

any last suggestions b4 i send my complains to cycling?!?

Luke Hall's icon

I tend to use the default zoom always but try not to create patches larger than my screen size as I don't like scrolling around to follow what is going on. To this end I use quite a lot of encapsulation and abstraction, have a look at the [patcher] object and max tutorials 14 and 15. If you use these tools sensibly to group objects performing specific functions it can make patching a lot simpler and cleaner. I hope you find this useful.

lh

frostrugo's icon

well for this patch i guess ill spend the next 2 hours in scrolling and rearranging all my presentation patch....

anyway mate thanks for the help, if u know anything new let me know.

codedorf's icon

Does anyone know if there has there been an update that now allows setting a zoom level so that each time the patch is opened, the same part of the patch is displayed?

Karen Brown's icon

use the message (zoomfactor 0.5) sent to this patcher with a loadbang

Karen Brown's icon

Oh... you'll need to use a pipe with a small delay, doesn't work without that

asterisk's icon

thanks karen!