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

Rename OCG Group - Javascript

New Here ,
Jul 27, 2017 Jul 27, 2017

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
417
Translate
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

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

Translate
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

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

Translate
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

naivyls  wrote

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

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

Translate
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
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 !

Translate
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