New Window has parameters for setting the size and location of a new window.
Move/Resize Window allows you to change the size and position of an exisitng window
And there are Get Functions that will return both the dimensions of a window and also of your screen.
Thus, it should be possible to what you want. I have a system here where the computer has two monitors and I use a script to open one window in each monitor. (It's a windows system so the FileMaker application window is sized to fill both monitors.)
Thanks Phil...again.....What I was shooting for is if a second report was opened, a calculation that would set the "Distance from Left" to a different number. I'll keep fiddling.
Thanks again for all your help
So if you known the position and width of the first window, you can calculate that needed value and use it in the new window script step that opens the next window.
Thanks Phil for your guidance. In case anyone else was curious, I figured out what I was trying to do by putting this into the Specify Calculation dialog for the 'Distance from Left' new window setting:
ValueCount (WindowNames ) = 2 ; 507; // "Left" setting when I run the first report-it will be the second window opened
ValueCount (WindowNames ) = 3 ; 7; // "Left" setting when I run the second report-it will be the third window opened
57 // 'Left' setting for 3 or more reports (don't think I'll ever need)
That may or may not be a concern, but there are get functions that can return the current position of the 2nd window in order to either reposition it back to it's original position or to specify a position for the third window relative to the user modified position of the 2nd window.