Hi how can I slice three parameters into three variables with Lua?
The ZOOM is so!
ZOOM = panel: getPanelEditor (): getProperty (“uiPanelZoom”)
The result is then 1
code (is working!)
function GetZOOM ()
ZOOM = panel: getPanelEditor (): getProperty (“uiPanelZoom”)
end
————————————————–
For the other two I miss the syntax! How do I write this correctly?
Editor bounds
Result should be (“0,0,800,600”) Current Editor Window Resolutions
code (wrong syntax)
function GetEDITOR_BOUNDS ()
EDITOR_BOUNDS = panel: getPanelEditor (): getProperty (“Editor bounds”) Syntax ????
end
————————————————–
Screen Resolutions (Monitor Windows)
Result should be (“0,0,1680,1050”) Current resolution of Windows and Monitor
code (wrong syntax)
function GetSCREEN_RESOLUTIONS ()
SCREEN_RESULUTIONS = Syntax ????
End
————————————————–
How can I get the parameters EDITOR_BOUNDS and SCREEN_RESULUTIONS?
Can someone give me an example in Lua?
Greetings Michael