Skip to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Damn the Dock!!!

Featured Replies

Hello,

I have a lovely FMP6 solution that we previously used under Mac OS 9, over the summer we have moved to OS X. Now, every one of my scripts that Maximizes a window causes the resulting window to be displayed behind the dock. Filemaker has graciously acknowledged the problem, but offer no advice or recourse. This has been fixed in FMP 7 from what I can gather.

Anyone found any workable solutions around this problem??

Thanks,

Randy

You can use AppleScript to resize the window precisely.

tell application "FileMaker Pro"

set bounds of window "YourDatabase" to {x,y,xx,yy}

end tell

Where x,y are the upper-left cooridnates (in pixels) and xx,yy are the lower-right coordinates (in pixels)

This is obviously only good for one set screen-resolution. You can also detect the current window size & then resize from there (after you maximize) but that's a bit more complicated.

-Stanley

Turn Dock Hiding On or use window Zoom instead of Maximize.

Hi, Randy! Or you can move the dock to another screen edge (although I loved the idea of this, it did not work for me well so I went back to bottom dock).

--ST

  • Author

Hey Guys...

Thanks for all the replies. After some quick playing around with coordinates, the applescript run from within FMP is the bomb!!

Just for the sake of having it documented here in the forums, Filemaker acknowledges the problem that v.5 & v.6 do not respect the dock space on the screen. Using the minimize command works great if your data, in list form, is not "longer" than your screen.

As a lot of people have found the idea of moving the dock to left or right positions is cool in theory, most people prefer it in the bottom position. And trying to explain dock relocation, and hiding to 30 teachers is more than I'm up for currently.

Thanks again,

Randy

You could check where the Dock is, and only run your window sizing when the Dock is on the bottom.

set dock_hidden to do shell script "defaults read com.apple.dock autohide"

set dock_orientation to do shell script "defaults read com.apple.dock orientation"

if dock_hidden is "0" and dock_orientation is "bottom" then

beep -- do your window bounds resize (instead of beeping :-)

end if

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.