• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

connect to a running InDesign via GetObject()

Explorer ,
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

104

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
Explorer ,
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...

Votes

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