would this work?:
ScaleX# = Graphicswidth() / displaywidth
ScaleY# = graphicsheight() / displayheight
(displaywidth and height are variables used globally for graphics so that the same display check isn't preformed each time a new window is created)
ScaleX# = Graphicswidth() / displaywidth
ScaleY# = graphicsheight() / displayheight
(displaywidth and height are variables used globally for graphics so that the same display check isn't preformed each time a new window is created)