WoodWing Help Center

AppleScript Error (-1728) appears in InDesign when opening an image or Excel file for editing

AppleScript Error (-1728) appears in InDesign when opening an image or Excel file for editing

When opening an image or an Excel file for editing from within InDesign, the following error appears:

AppleScript Error (-1728): Preview got an error: Can't get every document.

AppleScript error -1728

Analysis

This can happen when working on a Mac and the application in which the file is opened does not have a working AppleScript interface for editing the file.

Example: When the image is opened in Preview, the error is shown.

Resolution

To resolve this, associate all files of that type with an application that does contain the required AppleScript interface (such as Photoshop or Excel).

In the following steps, JPEG files are associated with Photoshop:

Step 1. In Finder, locate a JPEG file anywhere on your system.

Step 2. Select the file and do one of the following:

  • Press Cmd + I
  • Choose File > Get Info

The Get Info window appears.

Step 3. Locate the Open With section about half-way down the window.

Step 4. From the list, choose Photoshop.

Mac Finder Open With

Step 5. Click Change All... and confirm that you want to make the change to all similar documents.

Was this article helpful?
0 out of 0 found this helpful / Created: / Updated:
Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.