Detecting if running as stanalone


    Sep 25 2007 | 6:51 am
    Hi Max
    I have two set-ups for the same patch; one when I edit it and one when it is exported as a standalone. For instance I like to have the menu bar hidden when it is a standalone but not when I am editing it. So, until now I have been cutting and connecting wire connections every time I export as an application.
    Is there a way to ask the application if it is running as a standalone? Using the 'thispatcher' object for instance?
    (biting his desk and crossing fingers) ~ce
    Carl Emil Carlsen Copenhagen / Kolding +45 28 93 81 28 www.moodplug.com

    • Sep 25 2007 | 7:12 am
      On 25 sept. 07, at 08:51, Carl Emil Carlsen wrote:
      > Hi Max > > I have two set-ups for the same patch; one when I edit it and one > when it is exported as a standalone. For instance I like to have > the menu bar hidden when it is a standalone but not when I am > editing it. So, until now I have been cutting and connecting wire > connections every time I export as an application. > > Is there a way to ask the application if it is running as a > standalone? Using the 'thispatcher' object for instance?
      Hi,
      How about the max message "getruntime"? On loadbang, trigger a message box which contains "; max getruntime toto", and the receive toto will tell you everything;-)
      Cheers, ej
    • Sep 25 2007 | 7:32 am
      there is a message to max "getruntime" that will return if max is in standealone.
      Am 25.09.2007 um 08:51 schrieb Carl Emil Carlsen:
      > Hi Max > > I have two set-ups for the same patch; one when I edit it and one > when it is exported as a standalone. For instance I like to have > the menu bar hidden when it is a standalone but not when I am > editing it. So, until now I have been cutting and connecting wire > connections every time I export as an application. > > Is there a way to ask the application if it is running as a > standalone? Using the 'thispatcher' object for instance? > > (biting his desk and crossing fingers) > ~ce > > Carl Emil Carlsen > Copenhagen / Kolding > +45 28 93 81 28 > www.moodplug.com > > >
    • Sep 25 2007 | 8:33 am
      Carl Emil Carlsen schrieb: > Is there a way to ask the application if it is running as a standalone? > Using the 'thispatcher' object for instance?
      If you had my Max Overviews installed you'd have some help files for messages to Max. This is one of it: (A Standalone is a runtime version of Max)
      -- Stefan Tiedje------------x------- --_____-----------|-------------- --(_|_ ----|-----|-----()------- -- _|_)----|-----()-------------- ----------()--------www.ccmix.com
    • Sep 25 2007 | 11:52 am
      i just build in a toggle then i only have one patch
    • Sep 25 2007 | 1:20 pm
      Perfect! I can't ask for more. Thanks for the examples too!
      =D ~ce
      Carl Emil Carlsen Copenhagen / Kolding +45 28 93 81 28 www.moodplug.com