Actually, that script step did exist in .fp5. Unfortunately, we didn't have the other window steps, from which you could determine the user's screen dimensions and thus center the displayed window within it, until 7. Still, Richard's idea should help, if my memory serves.
Geoff's suggestion rings no bell here, but it certainly sounds like a typical trick. John Weinshel From: Geoff Graham <[email protected]> Reply-To: FileMaker Pro Discussions <[email protected]> Date: Mon, 11 May 2015 20:35:51 +0000 To: <[email protected]> Subject: Re: Window Placement FM Server 5.5 Richard I don¹t think you had that command in 5.5. They used to have several layouts with different sized graphics just so they could use the size to content¹ command. But this is in my memory: Open the file locally with full access (no server) on both platforms. Make the window the way you want it, and then go into define fields. You don¹t actually have to define a field, but you have to do enough to make FileMaker save the window info into the file. Does that ring a bell with anyone? Geoff From: FileMaker Pro Discussions [mailto:[email protected]] On Behalf Of Richard S. Russell Sent: Monday, May 11, 2015 4:00 PM To: [email protected] Subject: Re: Window Placement FM Server 5.5 > > On 2015 May 11, at 14:16, Gary Scott <[email protected]> wrote: > > > When using FMP Server V5.5 my windows appear on screen in various positions. > What controls where a window will appear? For example: > > Open first data file and its window is in upper left corner of the screen. A > script in first data file opens a second data file. The window for the second > data file appears in the middle of the screen. > > I would like all windows to appear in the middle of the screen. OK, I know the following works on a Mac, but I won¹t testify to its behavior under Windows, which IMHO does bizarre things with its windows. Howsomever, a little experimentation should enable you to zero in on the desired behavior. Script the ³go to Layout X² command and in that script insert a ³Move/Resize Window² step. That step doesn¹t offer an explicit ³center on the screen² command, which is what you really want, but it does allow you to specify window height, width and upper-left corner position.
