![]() |
![]() |
short dSetWidth;
Percentage to scale character width (from 5.0 to 250.0; normal is 100.0) in tenths of a percent (100.0% = 1000)
-3 for Any set width (i.e., to not include set width settings in search criteria)
short cTrack;
-3 for Any tracking (i.e., to not include track settings in search criteria)
0 (zero) for No Track
1 for Very Loose
2 for Loose
3 for Normal Track
4 for Tight
5 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)
"None" for the predefined None
short nTintValue;
Percentage of color (from 0 to 100) in whole percentages in tenths of a percent (100% = 1000), although command uses only whole percent agesStory editor only. The PGetFindTypeAttr2 query works only in story editor.
-3 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", -3, -3);
PChangeParaAttr("Any", -3, -3);
PFindTypeAttr1("Any", -3, -3, -3, -3, -3);
PChangeTypeAttr1("Any", -3, -3, -3, -3, -3);
PFindTypeAttr2(-3, -3, "Purple", -3);
PChangeTypeAttr2(-3, -3, "Purple", 93);
PChangeAll("", "", kFCSAllStories, kFCAnyCase, kFCAllInstances, kFCUseAttributes);
PGetPFindTypeAttr2(); // Reply: -3, -3, "Purple", -3);
PGetPChangeTypeAttr2(); // Reply: -3, -3, "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 |