Change grep preferences.
change grep preference Properties
| Property | Type | Access | Description |
|---|---|---|---|
| applied character style | any | r/w | The character style to search for or change to. Can return: string or nothing. Can also accept: character style. |
| applied conditions | any | r/w | The conditions to search for or change to. Specify the “nothing” enum for “Any” or an empty list for “[Unconditional]“. Can return: list of strings or nothing. Can also accept: list of conditions. |
| applied font | any | r/w | The font applied to the text, specified as either a font object or the name of font family. Can return: font, string or nothing. |
| applied language | any | r/w | The language to search for or change to. Can return: string or nothing. Can also accept: language or language with vendors. |
| applied numbering list | any | r/w | The list to be part of. Can return: numbering list, string or nothing. |
| applied paragraph style | any | r/w | The paragraph style to search for or change to. Can return: string or nothing. Can also accept: paragraph style. |
| auto leading | any | r/w | The percent of the type size to use for auto leading. (Range: 0 to 500). Can return: fixed or nothing. |
| balance ragged lines | any | r/w | If true or set to an enumeration value, balances ragged lines. Note: Not valid with a single-line text composer. Can return: boolean, no balancing/vee shape/fully balanced/pyramid shape or nothing. |
| baseline shift | any | r/w | The baseline shift applied to the text. Can return: number or string or nothing. |
| bullet char | any | r/w | Bullet character. Can return: bullet or nothing. |
| bullets and numbering list type | any | r/w | List type for bullets and numbering. Can return: no list/bullet list/numbered list or nothing. |
| bullets character style | any | r/w | The character style to be used for the text after string. Can return: character style, string or nothing. |
| bullets text after | any | r/w | The text after string expression for bullets. Can return: string or nothing. |
| capitalization | any | r/w | The capitalization scheme. Can return: normal/small caps/all caps/cap to small cap or nothing. |
| change conditions mode | any | r/w | The change conditions mode, change either replaces applied conditions or adds to applied conditions. Can return: replace with/add to or nothing. |
| change to | any | r/w | The replacement change grep preference. Can return: string or nothing. |
| character direction | any | r/w | The direction of the character. Can return: default direction/left to right direction/right to left direction or nothing. |
| class | type | read | The class descriptor type. |
| composer | any | r/w | The text composer to use to compose the text. Can return: string or nothing. |
| diacritic position | any | r/w | Position of diacriticical characters. Can return: default position/loose position/medium position/tight position/opentype position or nothing. |
| digits type | any | r/w | The digits type. Can return: default digits/arabic digits/hindi digits/farsi digits/Native digits/full farsi digits/thai digits/lao digits/devanagari digits/bengali digits/gurmukhi digits/gujarati digits/oriya digits/tamil digits/telugu digits/kannada … |
| drop cap characters | any | r/w | The number of characters to drop cap. Can return: small integer (0 – 150) or nothing. |
| drop cap lines | any | r/w | The number of lines to drop cap. Can return: small integer (0 – 25) or nothing. |
| dropcap detail | any | r/w | Details about the drop cap based on the glyph outlines. 1 = left side bearing. 2 = descenders. 0×100,0×200,0×400 are used for Japanese frame grid. Can return: integer or nothing. |
| end join | any | r/w | The stroke join type applied to the characters of the text. Can return: miter end join/round end join/bevel end join or nothing. |
| fill color | any | r/w | The swatch (color, gradient, tint, or mixed ink), applied as a fill color, to search for or change to. Can return: string or nothing. Can also accept: swatch. |
| fill tint | any | r/w | The tint (as a percentage) of the fill color of the text. (To specify a tint percentage, use a number in the range of 0 to 100; to use the inherited or overridden value, use -1.). Can return: fixed or nothing. |
| first line indent | any | r/w | The amount to indent the first line. Can return: number or string or nothing. |
| font style | any | r/w | The name of the font style. Can return: string or nothing. |
| gradient fill angle | any | r/w | The angle of a linear gradient applied to the fill of the text. (Range: -180 to 180). Can return: fixed or nothing. |
| gradient fill length | any | r/w | The length (for a linear gradient) or radius (for a radial gradient) applied to the fill of the text. Can return: fixed or nothing. |
| gradient fill start | any | r/w | The starting point (in page coordinates) of a gradient applied to the fill of the text, in the format [x, y]. Can return: list of 2 numbers or strings or nothing. |
| gradient stroke angle | any | r/w | The angle of a linear gradient applied to the stroke of the text. (Range: -180 to 180). Can return: fixed or nothing. |
| gradient stroke length | any | r/w | The length (for a linear gradient) or radius (for a radial gradient) applied to the stroke of the text. Can return: fixed or nothing. |
| gradient stroke start | any | r/w | The starting point (in page coordinates) of a gradient applied to the stroke of the text, in the format [x, y]. Can return: list of 2 numbers or strings or nothing. |
| horizontal scale | any | r/w | The horizontal scaling applied to the text as a percentage of its current size. (Range: 1 to 1000). Can return: fixed or nothing. |
| hyphenate across columns | any | r/w | If true, allows the last word in a text column to be hyphenated. Can return: boolean or nothing. |
| hyphenate last word | any | r/w | If true, allows hyphenation in the last word in a paragraph. Note: Valid only when hyphenation is true. Can return: boolean or nothing. |
| ignore edge alignment | any | r/w | If true, ignores optical edge alignment for the paragraph. Can return: boolean or nothing. |
| justification | any | r/w | The paragraph alignment. Can return: left align/center align/right align/left justified/right justified/center justified/fully justified/to binding side/away from binding side or nothing. |
| kashidas | any | r/w | Use of Kashidas for justification. Can return: default kashidas/kashidas off or nothing. |
| keep all lines together | any | r/w | If true, keeps all lines of the paragraph together. If false, allows paragraphs to break across pages or columns. Can return: boolean or nothing. |
| keep first lines | any | r/w | The minimum number of lines to keep together in a paragraph before allowing a page break. Can return: small integer (1 – 50) or nothing. |
| keep last lines | any | r/w | The minimum number of lines to keep together in a paragraph after a page break. Can return: small integer (1 – 50) or nothing. |
| keep lines together | any | r/w | If true, keeps a specified number of lines together when the paragraph breaks across columns or text frames. Can return: boolean or nothing. |
| keep rule above in frame | any | r/w | If true, forces the rule above the paragraph to remain in the frame bounds. Note: Valid only when rule above is true. Can return: boolean or nothing. |
| keep with next | any | r/w | The minimum number of lines to keep with the next paragraph. Can return: small integer (0 – 5) or nothing. |
| kerning method | any | r/w | The type of pair kerning. Can return: string or nothing. |
| kerning value | any | r/w | The amount of space to add or remove between characters, specified in thousands of an em. . Can return: fixed or nothing. |
| keyboard direction | any | r/w | The keyboard direction of the character. Can return: default direction/left to right direction/right to left direction or nothing. |
| last line indent | any | r/w | The amount to indent the last line in the paragraph. Can return: number or string or nothing. |
| leading | any | r/w | The leading applied to the text. Can return: number or string, auto or nothing. |
| left indent | any | r/w | The width of the left indent. Can return: number or string or nothing. |
| ligatures | any | r/w | If true, replaces specific character combinations (e.g., fl, fi) with ligature characters. Can return: boolean or nothing. |
| markup tag | any | r/w | The XML tag applied to the element. Can return: string or nothing. Can also accept: XML tag. |
| miter limit | any | r/w | The limit of the ratio of stroke width to miter length before a miter (pointed) join becomes a bevel (squared-off) join. Can return: fixed (0 – 1000) or nothing. |
| no break | any | r/w | If true, keeps the text on the same line. . Can return: boolean or nothing. |
| numbering apply restart policy | any | r/w | If true, apply the numbering restart policy. Can return: boolean or nothing. |
| numbering character style | any | r/w | The character style to be used for the number string. Can return: character style, string or nothing. |
| numbering continue | any | r/w | Continue the numbering at this level. Can return: boolean or nothing. |
| numbering expression | any | r/w | The number string expression for numbering. Can return: string or nothing. |
| numbering format | any | r/w | Numbering format options. Can return: upper roman/lower roman/upper letters/lower letters/arabic/format none/single leading zeros/double leading zeros/triple leading zeros, string or nothing. |
| numbering level | any | r/w | The level of the paragraph. Can return: integer or nothing. |
| numbering restart policies | any | read | Numbering restart policies. Can return: numbering restart policy or nothing. |
| numbering start at | any | r/w | Determines starting number in a numbered list. Can return: integer or nothing. |
| object reference | change grep preference | read | An object reference for the object. |
| OTF contextual alternate | any | r/w | If true, uses contextual alternate forms in OpenType fonts. Can return: boolean or nothing. |
| OTF discretionary ligature | any | r/w | If true, uses discretionary ligatures in OpenType fonts. Can return: boolean or nothing. |
| OTF figure style | any | r/w | The figure style in OpenType fonts. Can return: tabular lining/proportional oldstyle/proportional lining/tabular oldstyle/default or nothing. |
| OTF fraction | any | r/w | If true, uses fractions in OpenType fonts. Can return: boolean or nothing. |
| OTF historical | any | r/w | If true, use historical forms in OpenType fonts. Can return: boolean or nothing. |
| OTF justification alternate | any | r/w | If true, use alternate justification forms in OpenType fonts. Can return: boolean or nothing. |
| OTF locale | any | r/w | If true, uses localized forms in OpenType fonts. Can return: boolean or nothing. |
| OTF mark | any | r/w | If true, uses mark positioning in OpenType fonts. Can return: boolean or nothing. |
| OTF ordinal | any | r/w | If true, uses ordinals in OpenType fonts. Can return: boolean or nothing. |
| OTF overlap swash | any | r/w | If true, use overlapping swash forms in OpenType fonts. Can return: boolean or nothing. |
| OTF slashed zero | any | r/w | If true, use a slashed zeroes in OpenType fonts. Can return: boolean or nothing. |
| OTF stretched alternate | any | r/w | If true, use stretched alternate forms in OpenType fonts. Can return: boolean or nothing. |
| OTF stylistic alternate | any | r/w | If true, use stylistic alternate forms in OpenType fonts. Can return: boolean or nothing. |
| OTF stylistic sets | any | r/w | The stylistic sets to use in OpenType fonts. Can return: integer or nothing. |
| OTF swash | any | r/w | If true, uses swash forms in OpenType fonts. Can return: boolean or nothing. |
| OTF titling | any | r/w | If true, uses titling forms in OpenType fonts. Can return: boolean or nothing. |
| overprint fill | any | r/w | If true, the fill color of the characters will overprint. Can return: boolean or nothing. |
| overprint stroke | any | r/w | If true, the stroke of the characters will overprint. Can return: boolean or nothing. |
| paragraph direction | any | r/w | Paragraph direction. Can return: left to right direction/right to left direction or nothing. |
| paragraph justification | any | r/w | Paragraph justification. Can return: default justification/arabic justification/naskh justification or nothing. |
| parent | specifier | read | The parent of the change grep preference (a application). |
| point size | any | r/w | The text size. Can return: number or string or nothing. |
| position | any | r/w | The text position relative to the baseline. Can return: normal/superscript/subscript/OT superscript/OT subscript/OT numerator/OT denominator or nothing. |
| positional form | any | r/w | The OpenType positional form. Can return: none/calculate/initial/medial/final/isolated or nothing. |
| properties | record | r/w | A property that allows setting of several properties at the same time. |
| right indent | any | r/w | The width of the right indent. Can return: number or string or nothing. |
| single word justification | any | r/w | The alignment to use for lines that contain a single word. Can return: left align/center align/right align/fully justified or nothing. |
| skew | any | r/w | The skew angle of the text. (Range: -85 to 85). Can return: fixed or nothing. |
| space after | any | r/w | The height of the paragraph space below. Can return: number or string or nothing. |
| space before | any | r/w | The height of the paragraph space above. Can return: number or string or nothing. |
| start paragraph | any | r/w | The location at which to start the paragraph. Can return: anywhere/next column/next frame/next page/next odd page/next even page or nothing. |
| strike through color | any | r/w | The swatch (color, gradient, tint, or mixed ink) applied to the strikethrough stroke. Can return: swatch, string or nothing. |
| strike through gap color | any | r/w | The swatch (color, gradient, tint, or mixed ink) applied to the gap of the strikethrough stroke. Can return: swatch, string or nothing. |
| strike through gap overprint | any | r/w | If true, the gap color of the strikethrough stroke will overprint. Note: Valid when strike through type is not solid. Can return: boolean or nothing. |
| strike through gap tint | any | r/w | The tint (as a percentage) of the strikethrough stroke gap color. (Range: 0 to 100) Note: Valid when strike through type is not solid. Can return: fixed or nothing. |
| strike through offset | any | r/w | The amount by which to offset the strikethrough stroke from the text baseline. Can return: number or string or nothing. |
| strike through overprint | any | r/w | If true, the strikethrough stroke will overprint. Can return: boolean or nothing. |
| strike through tint | any | r/w | The tint (as a percentage) of the strikethrough stroke. (Range: 0 to 100). Can return: fixed or nothing. |
| strike through type | any | r/w | The stroke type of the strikethrough stroke. Can return: stroke style, string or nothing. |
| strike through weight | any | r/w | The stroke weight of the strikethrough stroke. Can return: number or string or nothing. |
| strike thru | any | r/w | If true, draws a strikethrough line through the text. Can return: boolean or nothing. |
| stroke alignment | any | r/w | The stroke alignment applied to the text. Can return: center alignment/outside alignment or nothing. |
| stroke color | any | r/w | The swatch (color, gradient, tint, or mixed ink), applied as a stroke color, to search for or change to. Can return: string or nothing. Can also accept: swatch. |
| stroke tint | any | r/w | The tint (as a percentage) of the stroke color of the text. (To specify a tint percentage, use a number in the range of 0 to 100; to use the inherited or overridden value, use -1.). Can return: fixed or nothing. |
| stroke weight | any | r/w | The stroke weight applied to the characters of the text. Can return: number or string or nothing. |
| tracking | any | r/w | The amount by which to loosen or tighten a block of text, specified in thousands of an em. Can return: fixed or nothing. |
| underline | any | r/w | If true, underlines the text. Can return: boolean or nothing. |
| underline color | any | r/w | The swatch (color, gradient, tint, or mixed ink) applied to the underline stroke. . Can return: swatch, string or nothing. |
| underline gap color | any | r/w | The swatch (color, gradient, tint, or mixed ink) applied to the gap of the underline stroke. Note: Valid when underline type is not solid. Can return: swatch, string or nothing. |
| underline gap overprint | any | r/w | If true, the gap color of the underline stroke will overprint. Can return: boolean or nothing. |
| underline gap tint | any | r/w | The tint (as a percentage) of the gap color of the underline stroke. (Range: 0 to 100) Note: Valid when underline type is not solid. Can return: fixed or nothing. |
| underline offset | any | r/w | The amount by which to offset the underline from the text baseline. Can return: number or string or nothing. |
| underline overprint | any | r/w | If true, the underline stroke color will overprint. Can return: boolean or nothing. |
| underline tint | any | r/w | The underline stroke tint (as a percentage). (Range: 0 to 100). Can return: fixed or nothing. |
| underline type | any | r/w | The stroke type of the underline stroke. Can return: stroke style, string or nothing. |
| underline weight | any | r/w | The stroke weight of the underline stroke. Can return: number or string or nothing. |
| vertical scale | any | r/w | The vertical scaling applied to the text as a percentage of its current size. (Range: 1 to 1000). Can return: fixed or nothing. |
| x offset diacritic | any | r/w | The x (horizontal) offset for diacritic adjustment. Can return: fixed or nothing. |
| y offset diacritic | any | r/w | The y (vertical) offset for diacritic adjustment. Can return: fixed or nothing. |