Offset in of patcher window in presentation view?

Feb 12, 2013 at 7:53am

Offset in of patcher window in presentation view?

Hi,
I’m looking to create a couple of different presentation view ‘areas’ in a patch, fix the window size, and then use a control in the patch (visible in all areas) to move between them. Basically, what offset msgs to [bpatcher] does. But I’d prefer not to issue the command from outside the patch *into* it as [bpatcher]; instead, have the control in the patch, itself. I couldn’t find any analogous commands in [thispatcher] or the list of msgs to Max. Can someone point me to it? Or am I really barking-up the wrong tree?

Thanks,
brian

#66466
Feb 12, 2013 at 1:56pm

If it is not possible with the collection of thispatcher window messages or using the sendbox message – if that is even feasible or practical for your application then I can’t think of another obvious way (except scripting, Bpatcher – which you don’t want to use or perhaps ‘repurposing’ the Max help file tab system). If you are using Max 6, Check the ‘segmented’ tab in [tab] help for an example of ‘sendbox’.

#239259
Feb 12, 2013 at 5:12pm

Hmmm, a lot to chew on there. I think I can make something like that works, thanks!

#239260
Feb 12, 2013 at 9:06pm

You can control window scrolling with javascript. search on “this.patcher.wind.scrollTo” or check this out:

http://www.cycling74.com/forums/topic.php?id=26718

You can then make a floating GUI window that can hover above the patch for your controls. Maybe a pictslider with a map of the patch as a background…?

Use [line] for the commands to scroll if you want it smooth…

#239261

You must be logged in to reply to this topic.