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

Rename OCG Group - Javascript

New Here ,
Jul 27, 2017 Jul 27, 2017

Copy link to clipboard

Copied

Hello,

First, sorry for my english, i'm french...

I actually use a script to rename layers with getOCGs().

The problem is for groups of layers, I have a group by page, as you can see on the picture, but it's not really a layer so it doesn't appear in the result of getOCGs().

Layers group.png

How could i rename those groups ?

Thanks a lot...

TOPICS
Acrobat SDK and JavaScript , Windows

Views

264

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 Expert ,
Jul 27, 2017 Jul 27, 2017

Copy link to clipboard

Copied

I don't think you can do it using a script.

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
New Here ,
Jul 27, 2017 Jul 27, 2017

Copy link to clipboard

Copied

Ok, thanks. I hope somebody has another answer,

Is it possible to simulate pressing a keyboard key in acrobat javascript ? It's maybe a solution for my problem...

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
Community Expert ,
Jul 27, 2017 Jul 27, 2017

Copy link to clipboard

Copied

naivyls  wrote

Is it possible to simulate pressing a keyboard key in acrobat javascript ?

That's not possible, either, I'm afraid.

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
New Here ,
Jul 27, 2017 Jul 27, 2017

Copy link to clipboard

Copied

LATEST

try67  a écrit

Naivyls   wrote

Is it possible to simulate pressing a keyboard key in acrobat javascript ?

That's not possible, either, I'm afraid.

I'm afraid too !!!!

Thank's for your answers !

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