1.open file
2.menu select ---Edit-----Convert to Profile... See Figure 1
3.click Advanced....See Figure 2
4.Selected Deviced Link,profile by dropbox list select ----honghua-4......See Figure 3
5.click ok....
6.get :
var idconvertToProfile = stringIDToTypeID( "convertToProfile" );
var desc89 = new ActionDescriptor();
var idnull = charIDToTypeID( "null" );
var ref4 = new ActionReference();
var idDcmn = charIDToTypeID( "Dcmn" );
var idOrdn = charIDToTypeID( "Ordn" );
var idTrgt = charIDToTypeID( "Trgt" );
ref4.putEnumerated( idDcmn, idOrdn, idTrgt );
desc89.putReference( idnull, ref4 );
var idT = charIDToTypeID( "T " );
desc89.putString( idT, """honghua-4#""" );
var idInte = charIDToTypeID( "Inte" );
var idInte = charIDToTypeID( "Inte" );
var idImg = charIDToTypeID( "Img " );
desc89.putEnumerated( idInte, idInte, idImg );
var idMpBl = charIDToTypeID( "MpBl" );
desc89.putBoolean( idMpBl, true );
var idDthr = charIDToTypeID( "Dthr" );
desc89.putBoolean( idDthr, true );
var idsdwM = charIDToTypeID( "sdwM" );
desc89.putInteger( idsdwM, 6 );
executeAction( idconvertToProfile, desc89, DialogModes.NO );
save as 1.jsx
6.delet Adobe Photoshop CC or 2020 Settings
7.open file
8.run 1.jsx
9. i find Deviced Link profile name no change ,don't display honghua-4....why?
Deviced Link profile name Display inconsistency
Re: Deviced Link profile name Display inconsistency
I already know the reason
Re: Deviced Link profile name Display inconsistency
I didn't understand what you want to achieve. Do you want after deleting settings folder something was already not choosable?