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.

Applescript issues since upgrading FM and Mac OS

Featured Replies

Hi there. I've been using FileMaker 16 Pro Advanced on OS 10 for a long time. As part of my music licensing business, I often run applescripts via Filemaker - one of the main things is to import music into iTunes, set all the tags, convert to various formats, and export. This week I updated to FM 19, OS 12.1, and had to move from iTunes to Apple Music. Now, many of the Applescripts are broken. I've spent the better part of the day taking small portions of the main scripts and seeing if I can get them to run from ScriptEditor. For the Apple Music script, the import step that used to be:

set newfile to ("path to file")

no longer worked until I changed it to:

set newfile to alias ("path to file")

All the set commands (set album, artist, genre, etc.) did not work until I ran:

-e 'tell application "Music" to activate'

from Terminal.

I thought I had things going okay until I tried to run those same steps from FileMaker. It did import the track, but none of the set steps or conversion steps did anything at all.

1) Is there a similar command to the one I ran in terminal that will allow FileMaker to run the scripts without issue?

2) Are there "general" best steps when upgrading Applescripts to work with OS 12?

Note: In Security & Privacy > Automation, I have FileMaker Pro allowed to control Finder and Music. I also tried adding FM in Security & Privacy >Accessibility and Security & Privacy > Full Disk Access. No luck.

Thanks for any help!

Edited by DeathRobot

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.