January 4, 201016 yr Can someone tell me if you can set the HEIGHT and WIDTH of the NEW WINDOW script to a 0 or Negative number. The reason I ask is that I've been getting these "an unsupported operation was attempted" errors and when I use the script debugger it seems that the New Window script is the culprit and I realized that I have the Width and Height set to 0 and NOTHING in documentation states that I cant set those parameters to 0 or a negative number. The documentation states: Minimum height and minimum width depend on the operating system of the user performing the script. If the height or width you specify are less than the minimum, FileMaker Pro uses the minimum values. I'm assuming that 0 or a negative number would be OK I was trying to set an offscreen window so I guess I should make the W and H at least 1 and then set Top and Left to a negative number. Anyone? Thanks in advance. Dom
January 4, 201016 yr Never did try 0 for width or height. But that doesn't sound acceptable. Just go for the 1x1 pixel with a negative Top/Left.
January 5, 201016 yr Author Thanks I guess I just needed to hear that. I don't know what compelled me to put 0 x 0 for Height and Width. Even now that I'm actually thinking about it - it doesn't make sense to me either. LOL
January 8, 201016 yr Hi Dom - I use Height, Width, and Top of "0", and a Left of "-300" all the time with the New Window script step to open a window off the screen. I don't receive any errors when I do this. This may behave differently on Mac. I mostly develop on Windows.
Create an account or sign in to comment