2 questions.. osc module & painter..
  • User avatar
    pls
    member
    Posts: 32
    Joined: Sun Mar 12, 2006 4:45 pm
    Location: munich | germany
    Contact:

    2 questions.. osc module & painter..

    by pls » Tue Mar 02, 2010 6:19 am

    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..
  • User avatar
    david
    garageCube team
    Posts: 217
    Joined: Tue Jan 08, 2008 1:14 am
    Location: Antibes, France

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

    by david » Tue Mar 02, 2010 12:38 pm

    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.
    David * GarageCUBE team * Modul8 developer
  • User avatar
    pls
    member
    Posts: 32
    Joined: Sun Mar 12, 2006 4:45 pm
    Location: munich | germany
    Contact:

    by pls » Tue Mar 02, 2010 5:35 pm

    thanks a lot..
    actually never tried opening a module with textedit..
    but worked perfect..

    greetz from munich

    pls

Who is online

Users browsing this forum: No registered users and 20 guests