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

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

Recommended Posts

Posted

Hi.

I'm trying out the possibility of using variable number of monitors for a solution (1 or 2). I thought Get(ScreenWidth) or Get(DesktopWidth) would help me, but that gives me just the width of the monitor that holds the window at any time - not the total of all the monitors. So when I place the window on my right screen and run the script it gets width = 1600, and on the left 1280. If it gave me the sum 2880 I could make Filemaker figure out how many monitors each user has... but no.

Anybody who has been through the same out there?

Posted

This might be a bit more difficult than meets the eye. There is no way that I'm aware of to determine what the resolution settings are going to be for each individual monitor. You could suppose that all are the same, which 9/10 of the time would be true. There might be a way to determine this using AppleScript, but I wouldn't how to do that. I've set up user-controlled fields that ask what the total monitor resolution is, and how many monitors. Then I base my windows creation calcs off of those fields.

This topic is 6877 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.