Can I have different 'screens' in a patch?

Thinksamuel's icon

I would like to have different screens in my patch, like a slideshow where each slide represents another set of buttons. I need to put one button that will trigger the next 'slide' and show the buttons. I could do it with pictctrl and putting all the pictures on top of each-other but the screen I am using is quite small and it would result in quite a bit of clutter. Any suggestions?

Gregory Taylor's icon

Take a look at the bpatcher object. In particular, the part of the help file labeled "patcher more"

seejayjames's icon

the messages "hidden $1" "ignoreclick $1" to various objects could also help, if you want to do a stack of objects to simulate the slideshow. Also many message to [thispatcher], like bringtofront and sendtoback. If you use bpatchers (which adds files but keeps multiple controls in a single object) then these messages could be used quite well for what you're envisioning.

If you do have a stack of similar objects, though, probably you'll want everything fully opaque :)

Thinksamuel's icon

I had a look at the bpatcher more but I think it is quite cumbersome to have everything in one patch and then having to look at the offsets. Is it possible to put every 'slide' in a bpatcher and then control which bpatcher is visble with a tab object?

Thinksamuel's icon

@ Seejayjames I had a look at an older thread where you explined how to stock up different layers and control them with a tab object. Now, I want to do it with a bpatcher, how do I have to call the bpatchers then? I

mzed's icon

The overview patch in the CNMAT MMJ Depot works like this. It is downloadable at:

Thinksamuel's icon

I just downloaded the CNMAT package, moved all externals to the right folders, but the overview patch does not work (I do not see anything under the tabs) and I cannot edit it. Any help?

EDIT: Ok, managed to open it but I do not get any clearer. I just want 8 bpatchers superimposed, 8 layers. Then I want to be able to send on the the front and the other to the back. is there an easier way then the CNMAT way? I cannotblieve that it ould be that hard.

Chris Muir's icon

Line up all your child bpatchers next to each other in a new bpatcher, which we'll use for scrolling. Embed this "scroller" bpatcher in your parent patch. Now you can send offset messages to the scroller bpatcher to bring different areas of your patcher into view. I use this technique in the top section of my Gyre program.

Roman Thilenius's icon

in 110.modular i use "bringtofront" to [thispatcher] in order to switch
between 8 different patches in fullscreen mode.
it is triggered by buttons which are on all patches or by a key command.
that is fun.

-110

Thinksamuel's icon

how does this bringtofront message works? I mean :what is the exact syntax I have to use?
Lets say my patcher is named slide1 How does the syntax look like:

seejayjames's icon

that should work, if your bpatcher is named slide1:

script bringtofront slide1
send this message to [thispatcher]

?

Roman Thilenius's icon

here is the module i use.

make 2-8 patchers, put them to fullscreen and save.

load up one instance of my bpatcher in al of them. preferrably on the same position. :D

hook up the first outlet of my module to a [thispatcher] in your first screen (=patch), the
second in the second and so on.
 

-110

p.s.
we´re talking about switching between whole patchers, not a bpatcher _object_.
i think it is actually "front" ... see my bpatcher or the reference fpr [thispatcher]

904.110.bp.pager
pager
Thinksamuel's icon

@Roman: I opened your file
I managed to do it with the front message, not bringtofront, and I need to have fullscreen enabled to be able to switch between patches

Chris Muir's icon

Is there a reason that the offset message doesn't work for you?

Here's an example using the offset message.

906.BP_Scroller.zip
zip
Roman Thilenius's icon

i mislead him because i offered something slightly different from what he was asking for.