• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: AppleWorks fields on a layout
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AppleWorks fields on a layout


  • Subject: Re: AppleWorks fields on a layout
  • From: Yvan KOENIG <email@hidden>
  • Date: Sat, 7 Oct 2006 13:47:35 +0200


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


Hello

When someone insert a field in an AW6 layout two objects are added to the layout:
the field itself and a string displaying the field's name.
Of course, the layout's creator may remove the string object.

From the different trials I made, it seems that

$002B opcode is used for fields themselves 
while
$0028 is used for string displaying the field's name.

Yvan KOENIG


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >AppleWorks fields on a layout (From: T&B <email@hidden>)
 >Re: AppleWorks fields on a layout (From: Yvan KOENIG <email@hidden>)
 >Re: AppleWorks fields on a layout (From: T&B <email@hidden>)

  • Prev by Date: Re: AppleWorks fields on a layout
  • Next by Date: Re: AppleWorks fields on a layout
  • Previous by thread: Re: AppleWorks fields on a layout
  • Next by thread: Re: AppleWorks fields on a layout
  • Index(es):
    • Date
    • Thread