Welcome Dialog

Welcome to the Community!

We have a brand new look! Take a tour with us and explore the latest updates on Adobe Support Community.


How to Add ParagraphStyles into CCLibrary via scripting

Community Beginner ,
Aug 18, 2021 Aug 18, 2021

Copy link to clipboard

Copied

Hello,

 

How to Add ParagraphStyles into CCLibrary via scripting.

 

Thanks.

TOPICS
Scripting

Views

142

Likes

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

Adobe Community Professional , Aug 18, 2021 Aug 18, 2021
Unfortunately the CC libraries are not exposed in the InDesign scripting DOM (Document Object Model). 

Likes

Translate

Translate
Adobe Community Professional ,
Aug 18, 2021 Aug 18, 2021

Copy link to clipboard

Copied

I don't think CCLibraries are available thrrough the scripting interface, only the indl file creation andrelated operations are possible via scripting. See the following

https://www.indesignjs.de/extendscriptAPI/indesign-latest/#Libraries.html#d1e298164__d1e298213

-Manan

Likes

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
Adobe Community Professional ,
Aug 18, 2021 Aug 18, 2021

Copy link to clipboard

Copied

Unfortunately the CC libraries are not exposed in the InDesign scripting DOM (Document Object Model). 

Likes

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 Beginner ,
Aug 18, 2021 Aug 18, 2021

Copy link to clipboard

Copied

Thank you all for your reply.

 

And, for Illustrator?

Likes

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
Adobe Community Professional ,
Aug 18, 2021 Aug 18, 2021

Copy link to clipboard

Copied

I don't think the CC Libaries have been opened to scripting in any application. CC Library development is handled in a different area of Adobe, more closely aligned to the Creative Cloud application itself.

Likes

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
Adobe Community Professional ,
Aug 18, 2021 Aug 18, 2021

Copy link to clipboard

Copied

Best ask this in the Adobe Illustrator forum:

https://community.adobe.com/t5/illustrator/bd-p/illustrator?page=1&sort=latest_replies&filter=all

 

FWIW: Last DOM documentation is for AI version 21, I think:

https://www.indesignjs.de/extendscriptAPI/illustrator21/#about.html

 

There are signs that nothing was added in the ExtendScript DOM since then.

 

If you are looking for AI menu commands see into:

https://community.adobe.com/t5/illustrator/js-cs6-executemenucommand/m-p/11945982#M270848

 

Regards,
Uwe Laubender

( ACP )

Likes

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
Adobe Community Professional ,
Aug 18, 2021 Aug 18, 2021

Copy link to clipboard

Copied

Steve said: "I don't think the CC Libaries have been opened to scripting in any application."

 

Well, with Illustrator one could record actions and access them by scripting.

So, perhaps it's possible to have a workaround even if the ExtendScript DOM does not offer anything at first glance.

 

Also found this at the Adobe Illustrator forum:

https://community.adobe.com/t5/illustrator/accessing-the-creative-cloud-libraries-objects-by-script/...

 

Regards,
Uwe Laubender

( ACP )

Likes

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 Beginner ,
Aug 20, 2021 Aug 20, 2021

Copy link to clipboard

Copied

Thanks Laubender for you reply.

And I tried to record action in the Illustrator. But it always empty and not adding any action.

 

Likes

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
Guide ,
Aug 21, 2021 Aug 21, 2021

Copy link to clipboard

Copied

LATEST

Creative Cloud Libraries have their own (cloud service) API.

https://www.adobe.io/creative-cloud-libraries/docs/integrate/guides/working-with-elements/supported-...

 

I don't know how far you will get with that approach - just had a first look at that page myself.

Likes

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