Skip to main content
Participant
July 31, 2013
Question

[AS] IDCS6 How to change vectorization in a multi State Object

  • July 31, 2013
  • 1 reply
  • 704 views

Hi there,

I've working on a big document with so many multi state objects.

Every MSO have an option: "export format in PDF articles" (don't sure about translate) in the palette "Folio Overlays > Diaporama"

Can I make an Applescript to change every "Bitmap" to "Vector"?

I've searching in every properties of a MSO, but don't find this.

TIA

Oli.

This topic has been closed for replies.

1 reply

Community Expert
July 31, 2013

@Oli – you will not find it there, because it's a DPS feature.

You have to look for a specific property inserted with something like the insertLabel() method and change that.
For searching the right key and value strings you could export an MSO to IDMS and looking at the code.

Uwe

Participant
July 31, 2013

Thanks Uwe.

If I understand correctly, I must export my files into .idml files; open them in a XML editor and change a line.

Is that correct?

I make a translation mistake in my previous post:

in the palette "Folio Overlays > Diaporama"

Must read:

in the palette "Folio Overlays > Slideshow"

Oli.

Community Expert
July 31, 2013

Outch…

I'll give up.

Too complicated to program it, I'll be quicker to do it in the Slideshow palette in Indesign

Thanks, Uwe, for your help.

Oli.


I'll give up.

@Oli – why is that?
I cannot say, but maybe AppleScript is providing something like an "insertLabel()" method as well…

You just have to do a little research to find the right key/value pairs and then iterate through a selection of page items to single out the MSOs. To give you another hint: if the DPS plug-ins are installed, every MSO, per definition, is of type Slideshow.

You'll need the IDMS stuff only for research…
Just look after the tag <Label> … </Label> in the XML code.

For ALL not nested MSOs in a document you could use the following ExtendScript code:

app.documents[0].multiStateObjects.everyItem().insertLabel("KeyString","ValueString");

Exchange "KeyString" and "ValueString" for the appropriate ones and your are done…

Uwe

Message was edited by: Laubender