Here’s a script that will toggle fullscreen on and off from a button in the global rackspace.
I named the button widget FullSCR in the GP Script name(in Widget Properties, Advanced tab)
Var
FullSCR : Widget // declaring the GP Script name from Widget Properties
On WidgetValueChanged(newValue : double) from FullSCR
If newValue == 1.0 then SetGPWindowFullScreen(true) // this states that if the button turns on, fullscreen on
Else SetGPWindowFullScreen(false) // else if the button turns off, fullscreen off
End
End
Ok, thanks, I understand now where to paste scripts and how to recall it. It works now but it only minimize and maximize the window not full screen like Ctrl + Alt + F
Ok everything works fine ! thanks a lot !
If it can be usefull, the final scripting is:
Var
FullSCR : Widget // declaring the GP Script name from Widget Properties
On WidgetValueChanged(newValue : double) from FullSCR
If newValue == 1.0 then SetGPWindowKioskMode(true) // this states that if the button turns on, fullscreen on
Else SetGPWindowKioskMode(false) // else if the button turns off, fullscreen off
End
End