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.

Participant
July 31, 2013

@Oli – it's not that easy…

I said, you could look up some key and value strings.
That means the Overlay Creator injected some of these in a process that one could describe and achieve with ExtendScript's insertLabel() method.

For each and every combination of DPS version and InDesign version this could be different keys and values.

Here an example.
With InDesign CS5.5 and version 12.4.2.20121112_m_705220 | 7.9.5.24 and an MSO that is set to "vecor" as an option in the "Slideshow" section of the "Overlay Creator" (Now named "Folio Overlays"), the IDMS code is:

<Label>

    <KeyValuePair Key="Type" Value="Slideshow"/>

    <KeyValuePair Key="kAdobeDPSInteractivity_ContainerAssetFormat" Value="pdf"/>

</Label>

In the IDMS for an MSO that is set to "Raster" the key value pair for the value "pdf" is missing. It is not set, because "Raster" is a default value.

Do not assume that for InDesign CS6 or CC or the current version of DPS the key value pairs are still the same!

You have to find out for yourself…


For our example above in InDesign CS5.5 one could select the MSO and inject the missing line like that:

app.selection[0].insertLabel("kAdobeDPSInteractivity_ContainerAssetFormat","pdf");

and then update the panel in the UI (close, open) to reflect the change…

Uwe


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.