triggering PopupInput from Layout View on Web Remote with correct display_handle #23
-
Hey everyone, thank you for helping me out on my last issue that I was able to fix with your help! @hossimo
Is there any way to workaround this? Maybe reading the webremotes display_handle from somewhere else in the system so the popup always opens on the Web Remote no matter what? Could that or something else maybe possible and what does it take to archive it? Thank you guys (especially @hossimo) again for the great help and fast answers on here - this is awesome! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Interesting, To be honest I'm not sure why this happens or if it is perhaps a bug, perhaps this is something that should be brought up on the official forums. However as an example, in 1.4 if I call
Also if I run this code, it kind of confirms that Macros on the web remote behave differently: local d = GetDisplayCollect()
for i = 1, d.count, 1 do
if d[i] == nil then
Echo("%d nil", i) -- x nil
else
Echo("%d %s", d[i].index, d[i].name) -- x Display x
end
end From oPC with 2 displays I see both of the displays, but running the same plugin on the web remote shows 1 (as expected) but 2 if calling via the macro. Feels like a bug, but it could just be how it works, I'm unsure. perhaps someone on the official forums. |
Beta Was this translation helpful? Give feedback.
-
Hey @hossimo, hey everyone, it seems like not being able to call plugins from a layout view is indeed a missing feature. At least for the gui part of things. Thanks to the help of Andreas Glad I found a way of manipulating the default action of plugins assigned to Layout View to be
After that the plugin is properly called. 😍 Kind regards |
Beta Was this translation helpful? Give feedback.
Hey @hossimo, hey everyone,
it seems like not being able to call plugins from a layout view is indeed a missing feature. At least for the gui part of things. Thanks to the help of Andreas Glad I found a way of manipulating the default action of plugins assigned to Layout View to be
Call
. This enables calling the plugin from within the right context and thus renders thePopupInput
on the webremote 🎉Set Root ShowData.UserProfiles.*.LayoutElementDefaults*.3 Property Action "Call"
After that the plugin is properly called. 😍
Huge thanks to Andreas Glad and @hossimo for your help on this issue!
Kind regards
@lukas-runge