Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 1356 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

Hello, I have a database that I run on 3 different computers, all with Mac OS 11.2. FMpro is 18.0.3.317.

A script uses an AppleScript that opens a browser. The AppleScript invokes System Events and contains a "do shell script" step.

On all computers, FMPro, Script Editor Script Menu are "allowed to control computer" in System Prefs.

In the other 2 computes, with the Intel chips, the script runs flawlessly but it stumbles on the M1. M1 vs Intel is the only difference between there 3 setups. I know that v18 is not officially supported with Big Sur but the programs runs perfectly well. Any suggestions would be appreciated.

Posted

I would install FMP 19 on the machine (it can coexist with 18), and see if everything works ok on 19. If that’s the case, you’re really left with no other option other than to upgrade. If the problem exists in 19, too, it could be some strange issue with Applescript. 

Posted

Thanks, I started to think that I should have run the AS separately on the M1 and I posted the question prematurely. The problem is that all data in the AS comes form FM. I still think that FM is unable to trigger something AS-related. 

Posted

That’s a good point. When I do AppleScripting, I first code it separately, since debugging AS in FM is a pain. I then copy and paste into FM, and do the necessary editing to suck in the FM data. 

Posted
17 minutes ago, Asu said:

The problem is that all data in the AS comes form FM.

That shouldn't prevent you from testing the script in Script Editor using arbitrary fake data. In parallel, you could experiment with running a simple AppleScript from FMP and seeing at what point if fails.

Of course, this is all rather generic, since we don't know exactly what your script does or how it fails (surely there is an error message?).

 

This topic is 1356 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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