May 11, 200817 yr Hi, I'd like to know if it's possible to know wether or not the current window is maximized or not. I want to do that to avoid a screen refresh (on windows) for nothing if the window is already maximized Thanks.
May 12, 200817 yr I was waiting to see if you get a better answer than mine. Run this script (you need a global text field gText1 or a replacement for the script to work). Here it is: Set Field [ :gText1; "Window Height: " & Get ( WindowHeight ) & "¶" & "Window Width: " & Get ( WindowWidth ) & "¶¶" & "Desktop Height: " &Get ( WindowDesktopHeight ) & "¶" & "Desktop Width: " &Get ( WindowDesktopWidth ) ] The relationship between the window and desktop results should be constant on a given platform. You can then define a calculation (better in a custom function) that uses these values to tell you if a window is maximised. I hope I made that clear, Norman
Create an account or sign in to comment