Page 1 of 1

2 questions.. osc module & painter..

Posted: Tue Mar 02, 2010 6:19 am
by pls
hey guys..

this specially concerns the development team..
i got 2 problems..

no.1
there is this painter module from garagecube which contains a button named pressure.. i'm about to rearrange the layout and in editing mode it is invisible.. i tried to switch it to visible by 'pressure' show but nothing happens.. by searching the script i can't find any clues how to adress this little guy.. seems its name isn't pressure?
in the script it's switch by
module.setAttribute('pressure', 'HIDDEN', False)

no.2
could you post a version of the osc module just containing the necessary script for sending feedback out..
i want to add this function to some modules to get them synched with OSCulator..
i'm thinking about using the normal osc module for communication concerning the main interface, but as the modules can't be accessed by keywords i would use midi to get them triggered.. but for feedback there should be a simplified script to send messages like..
sendMessage('/2/label1','manual mode')
this can really be simple.. maybe even with hardcoded osc adresse..

thanks..
n'greetz

pls

maybe i should have done 2 post for this..

Re: 2 questions.. osc module & painter..

Posted: Tue Mar 02, 2010 12:38 pm
by david
Hello pls,

pls wrote:no.1
there is this painter module from garagecube which contains a button named pressure.. i'm about to rearrange the layout and in editing mode it is invisible.. i tried to switch it to visible by 'pressure' show but nothing happens.. by searching the script i can't find any clues how to adress this little guy.. seems its name isn't pressure?
in the script it's switch by
module.setAttribute('pressure', 'HIDDEN', False)


You are right, this is a "bug". You could not select a hidden control.

For now, the workaround is to open Painter.m8m in a text editor, search for

Code: Select all

<key>CAPTION</key>
<string>pressure</string>


Some line below, you will have :

Code: Select all

<key>HIDDEN</key>
<integer>1</integer>


Change it to 0. The pressure button is hidden by default as pressure info is not available in Modul8 2.5

Regards.

Posted: Tue Mar 02, 2010 5:35 pm
by pls
thanks a lot..
actually never tried opening a module with textedit..
but worked perfect..

greetz from munich

pls