tomp Posted March 22, 2008 Posted March 22, 2008 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
CobaltSky Posted March 22, 2008 Posted March 22, 2008 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.
Reed Posted March 22, 2008 Posted March 22, 2008 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
tomp Posted March 29, 2008 Author Posted March 29, 2008 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!
Recommended Posts
This topic is 6084 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now