Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 6084 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

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

Posted

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.

Posted

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

Posted

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!

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.