connect to a running InDesign via GetObject()

Community Beginner ,
Apr 20, 2022 Apr 20, 2022

Copy link to clipboard

Copied

Hi community,

 

I have a question about accessing InDesign at runtime via COM/ActiveX.

I can start a new InDesign from VBA in Word (CreateObject("InDesign.Application")) - but I cannot access a running InDesign via GetObject("InDesign.Application").
Is this a known problem? Is Adobe deliberately preventing this?

 

best regards

Andreas

 

 


GetObject(, "InDesign.Application")

TOPICS
Scripting , SDK

Views

54

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Apr 20, 2022 Apr 20, 2022

Copy link to clipboard

Copied

LATEST

Hmmm... it seems that a call to CreateObject() in the case of an already running InDesign returns the reference to the running InDesign. So CreateObject() actually does the same as GetObject()... very strange...

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines