Apple Script Editor Syntax Errors

Asked By 20 points N/A Posted on -

Hi good day and I am using the Apple Script Editor for finding the terminology dictionary of the type of application that is being scripted but if the application is not found then automatically syntax error will appear.


Syntax Error Expected "," or "j" but found property.

Answered By 0 points N/A #154191

Apple Script Editor Syntax Errors



There are three methods to fix this error. For these solutions, I will suppose you are AppleScripting the application Power Manager Scripting:

    Give a complete path to the application being scripted. swap the name only form of tell application, with a full path:

tell application "Power Manager Scripting"

tell application "/Library/ApplicationSupport/PowerManager/Agents/Power Manager"

        2. Open the Power Manager Scripting’s dictionary with AppleScript Editor:AppleScript Editor-> File-> Open Dictionary

         3.  Open Power Manager Scripting in the Finder. The first time Power Manager Scripting is opened, the Finder will register the application’s location with Launch Services. Open Services can then help other applications, with AppleScript Editor, find the application.

If the error persists after you have tried these solution, the AppleScript may in fact hold a real syntax error.

Login/Register to Answer

Related Questions