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

Using Delphi, how to get the pageItem's constructor name?

Community Beginner ,
May 17, 2018 May 17, 2018

Copy link to clipboard

Copied

Hi,

I want to know how to get the pageItem's constructor name with Delphi.

In javacript,like this:app.selection[0].constructor.name.

Anyone can show me a hint to solve this problem?

Best regards.

goldbridge

TOPICS
Scripting

Views

286

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

correct answers 1 Correct answer

People's Champ , May 17, 2018 May 17, 2018

There is no Delphi implementation that I know of for scripting InDesign. Up to this date there are 3 official languages as JavaScript, VisualBasic and AppleScript.

There is an attempt to drive InDesign via Python but as far as I know it's very limited and windows only.

I really don't know a thing about delphi but the closest thing you could come with is to either drive the COM library on Windows (that's what the Python implementation does ) but you will probably face the same issues as it's not

...

Votes

Translate

Translate
People's Champ ,
May 17, 2018 May 17, 2018

Copy link to clipboard

Copied

LATEST

There is no Delphi implementation that I know of for scripting InDesign. Up to this date there are 3 official languages as JavaScript, VisualBasic and AppleScript.

There is an attempt to drive InDesign via Python but as far as I know it's very limited and windows only.

I really don't know a thing about delphi but the closest thing you could come with is to either drive the COM library on Windows (that's what the Python implementation does ) but you will probably face the same issues as it's not supported in any ways by Adobe, or call a supported language like VB or AppleScript via Delphi if it's even possible.

There are also some command line call to run ExtendScript ToolKit and so app targeted scripts.

HTH somehow.

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