![]() |
![]() |
short dSetWidth;
Percentage to scale the character width (from 5.0 to 250.0; normal is 100.0) in tenths of a percent (100.0% =1000).
kFCAttrAny for Any set width (i.e., to not include set width settings in search criteria)
short cTrack;
kFCAttrAny for Any tracking (i.e., to not include track settings in search criteria)
kTrackNoTrack for No Track (these are the enum eTrack)
kTrackVeryLoose for Very Loose
kTrackLoose for Loose
kTrackNormal for Normal Track
kTrackTight for Tight
kTrackVeryTight for Very Tight
const char * sColorName;
Name of color (to maximum of 31 characters)
"Any" for Any color (i.e., to not include color in search criteria)
short nTintValue;
Percentage of color (from 0 to 100) in whole percentages, expressed in tenths of a percent (100% =1000), although command uses only whole percentages.Story editor only. The PGetChangeTypeAttr2 query works only in story editor.
kFCAttrAny for Any tint amount
Example. The following example changes all purple text in the current publication to a 93% tint of purple. (Notice that it sets all other Find and Change attributes to Any.) It then queries for the Find and Change type settings.
PFindParaAttr("Any", kFCAttrAny, kFCAttrAny);
PChangeParaAttr("Any", kFCAttrAny, kFCAttrAny);
PFindTypeAttr1("Any", kFCAttrAny, kFCAttrAny, kFCAttrAny, kFCAttrAny, kFCAttrAny);
PChangeTypeAttr1("Any", kFCAttrAny, kFCAttrAny, kFCAttrAny, kFCAttrAny, kFCAttrAny);
PFindTypeAttr2(kFCAttrAny, kFCAttrAny, "Purple", kFCAttrAny);
PChangeTypeAttr2(kFCAttrAny, kFCAttrAny, "Purple", 93);
PChangeAll("", "", kFCSAllStories, kFCAnyCase, kFCAllInstances, kFCUseAttributes);
PGetPFindTypeAttr2(); // Reply: kFCAttrAny, kFCAttrAny, "Purple", kFCAttrAny);
PGetPChangeTypeAttr2(); // Reply: kFCAttrAny, kFCAttrAny, "Purple", 93);
The PChange, PChangeAll, PChangeNext, PChangeParaAttr, PChangeTypeAttr1, PChangeTypeAttr2, PChangeWindow , PFind, PFindNext, PFindParaAttr , PFindTypeAttr1, PFindTypeAttr2, and PFindWindow commands.
Comments or suggestions? Contact Adobe Developer Support