Skip to main content
dublove
Legend
September 24, 2025
Question

Can a script align everything to the bleed area with one click?

  • September 24, 2025
  • 3 replies
  • 416 views

Can a script align everything to the bleed area with one click?
Do we need four scripts for all four sides?

3 replies

rob day
Community Expert
Community Expert
September 25, 2025

Hi @dublove , Also, do you want to add bleed to an object close to the trim without affecting its content’s position, or simply move the object to the bleed? What seems to be simple, quickly gets complex if you are trying to add bleed without moving content. Consider this simple text frame:

 

 

Do you want to move the text frame to the bleed changing its text’s position?

 

 

Expand the text frame to the bleed, which reflows the text

 

 

Or expand the text frame without affecting the text flow? This would require expanding the frame width, and changing the text frame’s Inset settings

 

m1b
Community Expert
Community Expert
September 25, 2025

As Brian said, your question is too vague. The "bleed area" is a rectangle. Which part of the rectangle do you want to "align everything" to? The top left corner of the bleed area? I don't think you'd want that, so what exactly do you want? Include all possible cases you expect to handle. Do you really want to align *everything*? Even objects that are nowhere close to the bleed margins?

dublove
dubloveAuthor
Legend
September 26, 2025

Hi @m1b  @rob day  @brian_p_dts 

Don't you call it “bleed”
instead of trim marks?

 

Since you can assign keyboard shortcuts for aligning to the page and margins,
I figured you could also assign a shortcut for aligning to the bleed.

 

Like this:

 

m1b
Community Expert
Community Expert
September 26, 2025

@dublove  We said your description was vague. For your learning, here is an example of a better description:

 

"I want a script to move the selected item(s), without changing the item size, so that the bounding box edge closest to the closest bleed bounding box edge aligns with the bleed bounding box edge, only ever moving on one axis to do so."

 

Does that make sense? I know it is difficult language, but it is much more precise, which is what we need to write scripts.

- Mark

brian_p_dts
Community Expert
Community Expert
September 24, 2025

Too vague. An obejct could theoretically align to two sides only. I'm sure it's possible to identify the bounds of the object and determine the best corner to align to.