March 22, 200817 yr As I understand it, the location parameters for move/resize script on a MAC are relative to the whole screen. For Vista, they are relative to the FM window. How can I determine the location/size of the FM window in Vista/XP (especially when it's not maximized) so that I can properly place the windows my scripts manage? TIA
March 22, 200817 yr Hi tomp, The desktop area on Windows (both XP and Vista) is called the Application window. You can determine the current dimensions of the Application window using the following functions: Get(WindowDesktopWidth) Get(WindowDesktopHeight) They will return a numeric value corresponding to the Application window width and height in pixels.
March 22, 200817 yr Also, you can use a utility like this to actually change the size/position of the application window: http://www.kevinfrank.com/download/kf_wincontrol.zip
March 29, 200817 yr Author This is great! I used WinControl to set the size/position of the application Window but gave up then using 'Adjust Window/resize to fit' as suggested by another thread for the fm windows open in the application. The 'resize to fit' script step worked but the window 'snapped' back to it's previouse location/size on the next script step. As a work around I just figured out the size of the fm windows to fit the application window and now use 'Move/Resize' for the fm windows. Good old Windows. It's nice to know some things never change.I wish ALL my users were on Macs!
Create an account or sign in to comment