Skip to main content
Participant
July 29, 2025
Question

error running script in InDesign, using a macOS Sequoia

  • July 29, 2025
  • 2 replies
  • 186 views

When running a script in script editor, I keep getting the following error: Syntax error: A identifier cannot go after go after this identifier.

i'm attempting to run the following script in InDesign:

 

2 replies

kglad
Community Expert
Community Expert
July 29, 2025

in the future, to find the best place to post your message, use the list here, https://community.adobe.com/

p.s. i don't think the adobe website, and forums in particular, are easy to navigate, so don't spend a lot of time searching that forum list. do your best and we'll move the post (like this one has already been moved) if it helps you get responses.



<"moved from cc desktop">
Participant
July 29, 2025

Thank you, kglad, noted for future posts.

Peter Kahrel
Community Expert
Community Expert
July 29, 2025

Your code is JavaScript but you're running it as an AppleScript. Select JavaScript in the dropdown at the top left (where it now says AppleScript).

Participant
July 29, 2025

thank you, Peter.