Jump 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.

Tell Application Appname

Featured Replies

  • Newbies

Hi everyone...

When writing an applescript embedded in a "Perform AppleScript" step, is there any reliable way to address the FileMaker application in a tell block or similar?

The problem is that if you

tell application "FileMaker" or tell application "FileMaker Pro" or tell application "FileMaker Pro Advanced" and the end user does not have that exact version of FileMaker, the AppleScript system will ask the user to pick the intended application.

The situation is even worse if you're trying to make a runtime application.

I thought I had come up with a working solution as follows:


tell application "System Events"

	set appname to name of (item 1 of (every process whose frontmost is true))

end tell



using terms from application "FileMaker Pro Advanced"

	tell application appname

        end tell

end using terms from

However when I ran that on a computer running FileMaker Pro Advanced that also had FileMaker Pro 9 installed on it (and must for reasons I could explain if needed), it continually launched FileMaker Pro 9!

I need a solution that will run on any version of FM + 7 and also on a runtime version.

Thanks.

See:

http://fmforums.com/forum/topic/75454-write-statement-in-error/page__p__357118#entry357118

  • Author
  • Newbies

See:

http://fmforums.com/forum/topic/75454-write-statement-in-error/page__p__357118#entry357118

Thanks. That was helpful. It works locally, I will test on other configurations later.

Create an account or sign in to comment

Important Information

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

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.