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.

Message error -2740 ? Need help with my script

Featured Replies

Hello, In my last post I described the problems I had trying to use a quickey application with filemaker and that I could n't use two quickey apple events because it seems to only allow one.

So I tried applescript. I used the script editor and recorded exactly what I was trying to do , and when I told it to run it did it. But when I brought the exact script text into filemaker it didn't work. Here below is that text.

Menu "ProCD PhoneBooks" Exactly From "#-16489"

Wait Application "ProCD PhoneBooks"

Click (37, 29 Top_Left) - (0, 0 Mouse) Window #2 ("Select Phone - North East - V3.")

AliasKeystroke %51

AliasKeystroke %51

AliasKeystroke CMD %9 (V)

AliasKeystroke %36

Pause 0.5

Wait Cursor Is_Not Watch

Click (334, 52 Top_Left) - (0, 0 Mouse) Window #2 ("Select Phone - North East - V3.")

AliasKeystroke CMD %34 (I)

Click (106, 328 Top_Left) - (0, 0 Mouse) Window #2 ("More Info") Button #3 ("Copy")

Menu "FileMaker Pro" Exactly From "#-16489"

---------

I get an error which says

A identifier can't go after this " " ". (Error -2740)

How can I make the above script work in filemaker?

It works from the script editor.

Thanks

Dave

probably have to add sth. like

tell application "quickkeys macro processor.app"

... the code

end tell ...

or

tell application "ScriptEditor"

do script file "Macintosh HD:yourfile.scpt"

....

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.