🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: adobe.scripting.indesign
3 messages
3 total messages Started by sam_walton Fri, 20 Mar 2009 18:37
ID CS3: Applescript Strategy needed to place signature in letter
#299
Author: sam_walton
Date: Fri, 20 Mar 2009 18:37
11 lines
2009 bytes
We do letters all the time but signatures are always eyeballed when placing and not locked in so if text rolls, the graphic rectangles stay put. I'm trying to place them dynamically so that they roll with a certain string, like "Signature 1". Of course, we could anchor a box above this text and fill it with a sig image.

But some people write large and some write small. Some have descenders and some don't. Ideally, because this text string is different on different documents, I want to place the sig so that if there is a descender it lies on top of the first line. To this end, we have normalized our sig files so that there is a standard baseline that is a certain x and y from the bottom left.

So I could place a large rectangle over the target string and always place the sig file into the same position.

The trouble is pedestrian. I cannot see that placing the image box can be done over existing text. I looked at object styles, but don't see that they will help me. It's looking for an x and y, and I don't see how to get that from the properties of that string.

I can see that I can place a rectangle in using the object reference of the string, but not over it. This is broader than Applescript, but I'm thinking someone has figured this out before, though I had not found it in the archives.

How would you place a sig in a natural and pleasing way consistently in a layout? thanx, sam
Re: ID CS3: Applescript Strategy needed to place signature in letter
#454
Author: Shane_Stanley
Date: Fri, 20 Mar 2009 22:06
7 lines
1483 bytes
You can find your text, and get the "baseline" and "horizontal offset"
properties, which gives you the x and y coordinates. Make a rectangle based
on those coordinates, and place the sig in it.

-- 
Shane Stanley <sstanley@myriad-com.com.au>
AppleScript Pro Sessions <http://scriptingmatters.com/aspro>
Re: ID CS3: Applescript Strategy needed to place signature in letter
#409
Author: E_G_R
Date: Mon, 23 Mar 2009 22:36
5 lines
794 bytes
Hi:

Not really sure what you're doing, but if you place the "Signature 1" text constant in its own inline frame, it will both flow and perhaps make the maths more convenient.

egr
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads