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.

Script errors - now suddenly

Featured Replies

I have been using FM17Adv for some time.  I am on a MacPro 12-core tower and I had been running macOS Sierra.  All the internal scripts I had in one database worked perfectly.

I recently updated to High Sierra and now I am getting script errors I don't understand.  And this is from the same exact file I used previously.  I have one script where I want it to open a folder in Dropbox so I can access files there.  But I am getting this error:  Can’t make "Dropbox" into type integer.  Then I get a -1700 error dialog immediately after that.  Can anyone explain how I can fix this.  I have not been able to find anything online.

The script is a native AppleScript, and I suspect that has something to do with this.  Here is the script:

tell application "Finder"     activate     open folder " Pieces 2011" of folder "Teaching Material" of folder "Dropbox" of "  ThomaStudios 4TB"     select Finder window 1 set position of Finder window 1 to {2877, 167} end tell

Thanks.

J D Thomas ThomaStudios

 

7 minutes ago, ThomaStudios said:

The script is a native AppleScript

Are you able to run the same script from the Script Editor application?

 

  • Author

Good question.  I hadn't thought about trying that.  Hmm.

I did just now run the script and got the same two errors.  Any advice?

16 minutes ago, ThomaStudios said:

Any advice?

Sorry, I don't know. But it's clearly unrelated to Filemaker. Try perhaps:
https://www.macscripter.net/

  • Author

Thanks for that link.  I didn't find much there however and they didn't have any search function.  But it did start me thinking about things and I remembered that I can just record a new script from within SE, so I did.  The syntax was quite a bit different from my original script, so I plugged that into my FM file and got everything to work once again.  Thanks for your direction.

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.