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

[AS] code behaving differently in Editor ≠ InD

Advocate ,
Mar 15, 2017 Mar 15, 2017

Copy link to clipboard

Copied

Hello Scripters,

just started to overhaul some scripts. And, upon starting to work, i stumble over something, that a) never happened is such way or B) was different in CS6 when I coded these.

The problem:

If I start my AS from the OS ScriptEditor, the scriptpart

display dialog "" & class of curObj as string

is working fine, throwing "PDF".

But if I execute the script within InDesign the dialog is throwing

«class PDF »

I just need a push in the right direction, why/when this is happening…

Thanks in advance.

TOPICS
Scripting

Views

113

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
no replies

Have something to add?

Join the conversation