Skip to main content
Participant
July 18, 2023
Question

text area or object setting

  • July 18, 2023
  • 2 replies
  • 153 views

When we add any (.ai) object with the cmd+D command while writing in the indesign text area, we cannot continue writing in the text area. The object comes selected. To write text, we select the text area with T again and continue writing.
Although we encountered such an error in the 2019 indexing version, we encountered BUG in this way when we installed the 2023 current indexing.

This topic is closed to new replies. Start a new post to keep the conversation going.

2 replies

rob day
Community Expert
Community Expert
July 18, 2023

Hi @sinan31144324vfpg , You could change the default behavior where the placed item is selected via a script. Something like this could be assigned a key command:

 

if (app.activeDocument.selection.length != 0) {
	if (app.activeDocument.selection[0].constructor.name == "InsertionPoint" || app.activeDocument.selection[0].constructor.name == "Text") {
        var f = File.openDialog("Select the file", "");
        var ip = app.activeDocument.selection[0];
        ip.place(File(f));
        app.select(NothingEnum.NOTHING)
        app.select(ip)
    } else {
        alert("Please Select Some Text")
    }
} else {
    alert("Please Select Some Text") 
}

 

Default place in text:

 

Scripted place:

 

 

Steve Werner
Community Expert
Community Expert
July 18, 2023

When I place (File > Place) an AI file in InDesign text, it becomes an anchored object. As the last thing interacted with, the anchored object is selected with the Selection tool. That seems normal to me, and not an error.