Quantcast
Channel: Adobe Community: Message List
Viewing all articles
Browse latest Browse all 97529

Re: How to set dropdown list Weight?

$
0
0

Hi John,

 

Replace all 5 lines where you add dropdownlist with:

 

//---------------------------------------------------------------------------------------- ----------------------------------------------  mCoList = mPanel1.add("dropdownlist",[0,0,180,20],app.activeDocument.swatches.everyItem().name),  mFillTint = mPanel2.add("dropdownlist", [0,0,180,20], ["15%","20%","25%","30%"]),  mStCoList = mPanel3.add("dropdownlist",[0,0,180,20],app.activeDocument.swatches.everyItem().name),  mStWeightList = mPanel4.add("dropdownlist", [0,0,180,20], ["0.5pt","1pt","1.5pt","2pt"]),  mStyList = mPanel5.add("dropdownlist",[0,0,180,20],app.activeDocument.characterStyles.everyItem().name) ,
//---------------------------------------------------------------------------------------- --------------------------------------------------------

 

Regards,

Chinna


Viewing all articles
Browse latest Browse all 97529

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>