Hi,
Is there a way to create buttons to execute commands from the OSC application menu, such as: toggle Fullscreen or enable Editor?
That would be very useful.
Hi,
Is there a way to create buttons to execute commands from the OSC application menu, such as: toggle Fullscreen or enable Editor?
That would be very useful.
Not currently, but it could be added as a scripting function !
That would be great Jean-Emmanuel !
Brilliant! Toolbar accessible via scripting now in v1.2.1.
Thank you.
You wrote in the documentation:
For me fullscreen worked with toolbar(4)
, not 3.
Client:
→ Phone: Samsung Galaxy S6 - SM-G920I
→ Browser: Google Chrome v.90.0.4430.91
→ Android: v.7.0; Build/NRD90M.G920IDVS4FTK6
In this latest Chrome version, the button I made doesn't fully activate the fullscreen mode. In order to fully activate it, you need to either:
→ bring the bottom side completely in view;
→ activate fullscreen mode from the menu.
EDIT (possible solution)
// doesn't work right (ie. when fullscreen is triggered by push button on)
if (value === 1) {
toolbar(4)
}
// this solves the problem
if (value === 0) {
toolbar(4)
}
Then the example is outdated then (fixed).