February 17, 201411 yr Is there a known calculation or "Get" function (I can't find one) that will identify if the Windows OS screen DPI setting is set to "Large Size" or 120 DPI (125%)?
February 17, 201411 yr I don't think there is one specifically for this - but you could see if Get(ScreenWidth) changes in the two modes
February 19, 201411 yr Author Get(screenwidth) and Get(contentwidth) are related to the size of the displayed window. I want to measure DPI (96 or 120) of the window, which is not directly related to filemaker zoom (75%, 100%). I want a script to detect 96 DPI to set zoom to 100% and 120 DPI to set zoom to 75%.
February 19, 201411 yr I don’t see why you would need to know this, since the screen view is controlled by the user, wouldn’t it be up to them to zoom in or out, change the dpi in their monitor settings, etc.? Lee PS Perhaps if you explained why you need this information, maybe we can come up with some additional ideas Edited February 19, 201411 yr by Lee Smith PS
February 19, 201411 yr Author The point you are missing is that Filemaker zoom controls the zoom level (75% or 100%) of a defined window size (1366 x 768 px) and DPI controls the magnification (96DPI-100% or 120DPI-75%) within a defined window size (1366 x 768 px). To accomplish my end, I have had to create four global text fields (HOST_Normal, CLIENT_Normal, HOST_120DPI and CLIENT_120DPI). I can then set my Windows XP Filemaker HOST Monitor to "96DPI" and 1280 x 768 px. I can then set my Filemaker Windows 8.1 Filemaker CLIENT Notebook to "120DPI" and 1366 x 768 px. Now when various layouts are selected, a "Reset Screen" script determines the correct Filemaker zoom setting based on the global text fields outlined above and maintains a predetermined window width and height. This works very well, but I would rather simplify the "Reset Screen" script by being able to use a Get ( ScreenDPI ) = "96" and Get ( ScreenDPI ) = "120" element if possible. See the attachment if you want to review the "Reset Screen" script content. Reset Screen.pdf
February 19, 201411 yr I don’t have time to look at the script, however perhaps this article by Matt Petrowsky will help Designing for Retina
May 31, 20169 yr Newbies You can use funtion : Get(ScreenScaleFactor) . it will return 1, 1.25 or 1.5 in window mode
Create an account or sign in to comment