How can I make a new window not based on the foreground window?
Not sure exactly what you're asking, but you can use the Select Window script step to manipulate which window has the focus. Select the window you want, create the new window, then select the window you were originally sitting in. Is that the question?
Create it offscreen, move to the layout you want, resize to whatever, then move it to 0;0 or where you want it to be.
Of course, as Mike says, it helps knowing what you want to do with this new window. I try to avoid multiple FM windows if I can...
I want to go to a certain layout for printing but I like my original window open.
for not If I want to open a new window the new window that I created is as big as my original window.
How can I create offscreen? I would appreciate if you can give me a sample.
This seems like the same question that has been answered in fmforums.
As noted there and as indicated by Mike and siplus, it will be helpful if you will provide more explanation of what you are doing and what you are trying to do. If you want to make a new window; use the new window command. If you want the new window to show a different layout; then use the go to layout command.
Pop up windows - Layouts - FMForums.com
welcome to the wonderful world of printing in Filemaker.
If your solution is Mac only you can go mad with storing % in the page setup. Windows is another beast altogether.
My advice: build a special layout for printing, put a print button on the display layout, when clicked ask for options in a dialog or popover, then
go to print layout
go to original layout
no need for extra windows.
Retrieving data ...