Listing the PDF presets in Indesign CS

Hi

Does anyone know if it`s possible to list all the PDF presets in InDesign CS?
And if so how?

Easy.

tell application "InDesign CS"
	set pdfPresetList to name of every PDF export preset
end tell

But I have a feeling you want to do more than that…

Thanks Dennis! That works perfektly!

And yes, I need to do a bit more than that. I need to load all the nanes of the presets into a combobox.

So i guest something like this wold work


on awake from nib theObject
tell application "InDesign CS"
set PDFpresetLiset to name of every PDF export preset
set numOfPresets to (number of items of PDFpresetLiset)
end tell

repeat with i from 1 to numOfPresets
make new combo box item at end of combo box items of combo box "mycobo" with data (item i of PDFpresetList)
end repeat
end awake from nib

Perhaps it would. I wouldn’t know, since I really don’t know AS Studio. I did move the post into the correct forum, though.
Maybe someone with more knowledge than me (just about everyone in the world it seems sometimes) will help you here.