![]() |
![]() |
PFindTypeAttr2(short dSetWidth, short cTrack, const char * sColorName, short
nTintValue);
Story editor only. The PFindTypeAttr2 command works only in story editor.If the story editor is not active, PFindTypeAttr2 throws a CQ_LO_INVALID_MODE exception.short dSetWidth;
Percentage to scale the character width (from 5.0 to 250.0; normal is 100.0) in tenths of a percent (250.0 = 2500).
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
kTrackVeryLoose for Very Loose
kTrackLoose for Loose
kTrackNormalTrack for Normal Track
kTrackTight for Tight
kTrackVeryTight for Very Tightconst char * sColorName;
Name of color exactly as it appears in Colors palette (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 in tenths of a percent (100.0 = 1000), although command uses only whole percentages and decimal values are rounded.
kFCAttrAny for Any tint amount (i.e., to not include tint value in search criteria)
All attributes cleared first. The settings you include with the PFindTypeAttr2 command replace all existing attribute settings.
Example. The following example changes all purple text in the current publication to 93% tint of purple. Notice that it first sets all other Find and Change attributes to Any.
PFindTypeAttr1("Any", kFCAttrAny, kFCAttrAny, kFCAttrAny, kFCAttrAny, kFCAttrAny);
PChangeTypeAttr1("Any", kFCAttrAny, kFCAttrAny, kFCAttrAny, kFCAttrAny, kFCAttrAny);
PFindParaAttr("Any", kFCAttrAny, kFCAttrAny);
PChangeParaAttr("Any", kFCAttrAny, kFCAttrAny);
PFindTypeAttr2(kFCAttrAny, kFCAttrAny, "Purple", kFCAttrAny);
PChangeTypeAttr2(kFCAttrAny, kFCAttrAny, "Purple", 930);
PChangeAll("", "", kFCAllStories, false, false, false);
The PGetChangeParaAttr, PGetChangeTypeAttr1, PGetChangeTypeAttr2, PGetChangeWindow, PGetFindParaAttr, PGetFindTypeAttr1, PGetFindTypeAttr2, and PGetFindWindow queries
Adobe PageMaker 6.5 Help > Commands > Utilities > Find
Comments or suggestions? Contact Adobe Developer Support