November 17, 200520 yr 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?
November 18, 200520 yr 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.
Create an account or sign in to comment