🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: adobe.scripting.indesign
5 messages
5 total messages Started by tobias_wantzen Thu, 29 Jan 2009 08:27
[CS3, CS4 / AS, JS] How to »Label« a Single Character?
#1609
Author: tobias_wantzen
Date: Thu, 29 Jan 2009 08:27
7 lines
805 bytes
Hello,

I can give objects hidden labels, so I can process them in scripts by calling them via label.
But how can I apply such a hidden label to a single character? Is there a way to do so? Or a trick?

Thanks.
Tobias
Re: [CS3, CS4 / AS, JS] How to »Label« a Single Character?
#1610
Author: Harbs
Date: Thu, 29 Jan 2009 09:22
7 lines
757 bytes
You can't.

You can try enclosing it in xml tags though.

-- 
Harbs
http://www.in-tools.com
Re: [CS3, CS4 / AS, JS] How to »Label« a Single Character?
#1624
Author: tobias_wantzen
Date: Thu, 29 Jan 2009 15:45
6 lines
787 bytes
Hm. Harb�s answer is very absolute. So nobody found a good trick?

Yes, I could use XML, but when I do have XML content, it gets a bit nasty.

Thanks
Tobias
Re: [CS3, CS4 / AS, JS] How to »Label« a Single Character?
#1629
Author: Dave_Saunders
Date: Thu, 29 Jan 2009 17:42
5 lines
1111 bytes
It all depends when those other scripts are going to run. If you know that there is no possibility of editing of the text having occurred between the marking and the running, then it is easy enough to record the character's relevant information.

But if editing might have occurred, then you are left with doing some kind of sneaky thing. If all the text is black, make a black_copy and change the fill color to that. Or set the gap color of the stroke to it or somesuch.

Dave
Re: [CS3, CS4 / AS, JS] How to »Label« a Single Character?
#1630
Author: Dirk.Becker
Date: Thu, 29 Jan 2009 18:23
3 lines
740 bytes
Conditional text has the benefit you could attach multiple conditions, but that is CS4 only.

Dirk
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