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

Retrieve and place an asset from library to the bottom of the page.

New Here ,
Jul 30, 2024 Jul 30, 2024

Copy link to clipboard

Copied

I want to read a asset from indesign Library. Place it in the textframe and move it to an frame. But when I am using cannot move the assets by position. Kindly help me to drag the asset to the position.

 

Dim versoRectContiueAsset As Asset
versoRectContiueAsset = getAssetFromLibrary("TB-con")

versoRectContiueAsset.PlaceAsset(indesignApplication.ActiveDocument) It copies the library and place in the pasteboard. Kindly help me to move it the page 2. textframe 2

 

TOPICS
Bug , EPUB , SDK

Views

91

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 30, 2024 Jul 30, 2024

Copy link to clipboard

Copied

You can use this info:

 

https://www.indesignjs.de/extendscriptAPI/indesign-latest/#Asset.html#d1e298851__d1e299147

 

You can place it directly into your destination TextFrame - instead of Document.

 

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 31, 2024 Jul 31, 2024

Copy link to clipboard

Copied

LATEST

Hi @AyshaIsmail ,

I'm not sure what you are trying to do exactly by code.

Hm…

 

Is the asset a group of items that is really grouped when it was added to the InDesign library file?
Or is a multitude of items not grouped when it was added? Then placing the asset to a text insertion point will not work.

 

Regards,
Uwe Laubender
( Adobe Community Expert )

 

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