Dear all,
To the best of my knowledge: ESK is a wrapper around FDK - or something like that. It seems to me that not all FDK functions are mapped to ES functions.
For exeample, in the FDK documentation I find these which have no equivalent in ESK:
- Not important: F_StrIPrefixEnc(); F_StrReverse(); F_StrSuffix()
- Already 'built' myself: F_CharIsHexadecimal(); F_CharIsNumeric(); F_StrStripLeadingSpaces(); F_StrStripTrailingSpaces()
- Of interest: F_IsValidUTF8(); F_MetricApproxEqual(); F_StrTok()
An intersting finding concerning decimal TAB: «… Note that the character specified by decimal
must be a single byte character …» IMHO that means that the trigger character can not be a multibyte (UTF-8) character.
But what I miss most - since I best learn by example - is at least one example concerning graphics. For example: place some graphic objects and group them, then rotate the whole thing.
The only one found so far: Graphic Lines · fabianmoronzirfas/extendscript Wiki · GitHub --- for Indesign which seems to have a quite different object model.
Information is not clear to me in many cases [Scripting Guide] - which requires much experimenting, for example for the Line object:
Line.Points : Array of x-y coordinate pairs that specify the line’s vertices. The default coordinate pairs are for the line’s start point and end point.
IMHO the word default is misleading here. Most likely it is meant that the minimum definition are 2 value-pairs for the starting and ending-point.
Line.ObjectAttributes: IMHO an invalid property as it belongs only to an anchored frame («A list of strings, each string expressing an attribute that is specified for an
anchored frame in the Object Properties > Object Attributes dialog box. …»
Rectangle.Height, Rectangle.Width Is this the height resp. width of the skeleton or the total measure including the BorderWidth?
Rectangle.Arrowxxx are IMHO useless - that is, the documentation lists the same properties for a number of graphic objects (most annoying for TextLine or the Math object).