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
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.
Copy link to clipboard
Copied
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 )