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.


A script that can auto-lay objects in 2 ways

New Here ,
May 10, 2021 May 10, 2021

Copy link to clipboard

Copied

Hi all,

I am building a large catalogue that only uses generally 2 layouts for every product (A or B). The product information is already pasted in there, I just need to lay it all out. There is usually many on 1 page.
I was wondering if there is a way to make a script be able to detect whether a layout should be A or B in regards to the width vs height of the product image, and then layout the 4 elements accordingly and relative to one another. I was hoping to make a script so I can bind it to a key. 
Each element will always be in that structure, and distributed that 1mm gap. Is there maybe a way to layout each element using the product image as an anchor?
If this isn't possible, let me know! Thank you.

example copy.jpg

TOPICS
Scripting

Views

149

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 ,
May 11, 2021 May 11, 2021

Copy link to clipboard

Copied

LATEST

Can't you use alternate layouts or liquid layouts for this?

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