pixxxel schubser wrote: Sorry. But your code is totally wrong! You need something like this: vardesc3=newActionDescriptor(); varref1=newActionReference(); ref1.putEnumerated(charIDToTypeID('Dcmn'),charIDToTypeID('Ordn'),charIDToTypeID('Trgt')); desc3.putReference(charIDToTypeID('null'),ref1); desc3.putString(charIDToTypeID('T'),"AdobeRGB(1998)"); desc3.putEnumerated(charIDToTypeID('Inte'),charIDToTypeID('Inte'),charIDToTypeID('Clrm')); desc3.putBoolean(charIDToTypeID('MpBl'),true); desc3.putBoolean(charIDToTypeID('Dthr'),true); desc3.putBoolean(stringIDToTypeID('rasterizePlaced'),false); desc3.putInteger(charIDToTypeID('sdwM'),2); executeAction(stringIDToTypeID('convertToProfile'),desc3,DialogModes.ALL); var desc3 = new ActionDescriptor(); var ref1 = new ActionReference(); ref1.putEnumerated( charIDToTypeID('Dcmn'), charIDToTypeID('Ordn'), charIDToTypeID('Trgt') ); desc3.putReference( charIDToTypeID('null'), ref1 ); desc3.putString( charIDToTypeID('T '), "Adobe RGB (1998)" ); desc3.putEnumerated( charIDToTypeID('Inte'), charIDToTypeID('Inte'), charIDToTypeID('Clrm') ); desc3.putBoolean( charIDToTypeID('MpBl'), true ); desc3.putBoolean( charIDToTypeID('Dthr'), true ); desc3.putBoolean( stringIDToTypeID('rasterizePlaced'), false ); desc3.putInteger( charIDToTypeID('sdwM'), 2 ); executeAction( stringIDToTypeID('convertToProfile'), desc3, DialogModes.ALL ); Have fun By the way – what happens with your other thread? Display Document Profile Thank you, by changing executeAction( idmodalStateChanged, desc46, DialogModes.ALL );in my code did fetch up the dialog window but your code looks cleaner. As for the Display Document profile on a label, I am still going through the website examples which someone pointed me to
... View more