Message Window

Viewing 6 posts - 1 through 6 (of 6 total)
  • 9th April 2019 at 12:03 pm #17385

    Hello,

    Is there any options to pop up a window with message and buttons to all users via API? And catch which button were pressed by wich host/user etc.?

    9th April 2019 at 7:01 pm #17386

    Hi Denis,

    could you explain exactly the requirements ? You can generate GUIs on Console using Pyside , but it’s not clear if you want to generate a custom event from the Dispatcher, from the nodes, or whatever else.

    9th April 2019 at 7:28 pm #17387

    Hi Leonardo,

    I’m working now on a quite simple script. It should wait until a specified time than force logs out all users in order to free up all available RAM memory for the rendering process. Moreover, I’d like to add an option for the artists that decided to work long hours to cancel this scenario. I see it like a popup message (like that that appear when you confirm changes in the template) that will notify the artist that its user will be logged out through the ten minutes. But if an artist clicks to the Cancel button it won’t be logged out. This is the whole idea.

    I’ve managed to create the first part that logs out the user at a certain time. Then I thought that Muster’s API could contain functionality to create the popup message, but after a couple of hours of the research, I didn’t find anything. That why I wrote this question)))

    So, I’d like to notify the user prior some minutes to the logout action. And give him an ability to cancel it. From your point of view, what is the best way to implement it?

    10th April 2019 at 8:52 am #17388

    From where you’re logging out the users ? From a python template?

    With the current API this sounds a little complex, but we can implement functions like onCustomMessage (that’s actually available from a node to Dispatcher) into the Dispatcher API too, to be able to send messages to connected Consoles as well as Renderclient. By implementing the ability to send messages from/back console to the Dispatcher, you can catch back a response from a modal dialog created with Pyside/QT. We have logged the improvement for 9.0.13 , so you need to wait some days until we release it and your life will be simpler in implementing your request.

    Thanks and regards!

    10th April 2019 at 9:57 am #17393

    From where you’re logging out the users? From a python template?

    From the User System Account in Windows…

    Regarding the onCustomMessage this sounds great I going to wait for it!

    24th April 2019 at 12:54 pm #17474

    Custom messages have been implemented in 9.0.13, further information on the MTemplate class documentation at:

    https://www.vvertex.com/wiki900/doku.php?id=muster:9.0:template_engine_python#class_overrides_descriptions

    Also the global template(0) carries on all the function definitions to react to custom messages sent through the APIs

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.