Jump to content

Unreliable Applescripts in FM6


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

Recommended Posts

  • Newbies

Morning all.

Has anyone come across an issue where an Applescript will work fine for a while and then stop working for no reason? We seem to have pinned it down (maybe) to opening the Applescript inside an FM script for reference and somehow something changes and stops the script from working, although there appears to be no visible change. We also seem to be able to fix it by cutting the Applescript, coming out of script editor, going back in and pasting the same Applescript back into the FM script.

Has anyone else experienced this?

Link to comment
Share on other sites

  • Newbies

How have you put the Applescript into FM? Is it stored in a global field or pasted into the ScriptMaker Perform Applescript panel? There is a subtle difference between the two. If you enter the script directly into Scriptmaker then the Applescript compiles when you save the script step. However, an Applescript in a global field compiles when it is called. I find that Applescripts saved in global fields are much more reliable but I suspect that is because the compiling when the script step is called is masking an Applescript that could be written better.

If you decide to put Applescripts into a global field, make sure they compile in the Script Editor first.

Link to comment
Share on other sites

This topic is 6757 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.