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

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

195

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

Copy link to clipboard

Copied

LATEST

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

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