Le 7 oct. 2006 à 13:31, T&B a écrit :
…tain the x0028 opcode. The relevant (I think) entries in the QuickDraw documentation are:
Opcode Name Description Bytes of additional data
$0028 LongText txLoc (Point), count (0..255), text 5 + text
$002B DHDVText dh (0..255), dv (0..255), count (0..255), text 3 + text
So, I modified my script to allow for either opcode. Now I can copy a field object from an AppleWorks database layout, then run this:
property x002B : (ASCII character 0) & (ASCII character 43) -- QuickDraw DHDVText opcode
property x0028 : (ASCII character 0) & (ASCII character 40) -- QuickDraw LongText opcode