• 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: [appscript] looking for feedback
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [appscript] looking for feedback


  • Subject: Re: [appscript] looking for feedback
  • From: Emmanuel <email@hidden>
  • Date: Tue, 25 Oct 2005 22:53:21 +0200

At 12:56 PM -0400 10/25/05, Mark J. Reed wrote:
On 10/24/05, has <<mailto:email@hidden>email@hidden> wrote:

<http://freespace.virgin.net/hamish.sanderson/Documentation/02_aboutapplicationscripting.html>http://freespace.virgin.net/hamish.sanderson/Documentation/02_aboutapplicationscripting.html


Looks interesting; wil read more carefully later.

One thing leapt out at me, but it's not a problem with your doc - it's a limitation of my knowledge of AS It says that the keys of a record are four-letter codes. How does AS construct those on the fly from the arbitrary key names we're allowed to use in record literals in AS code?

When you feel curious about the internals of AppleScript, you may want to use AppleEventData.osax, an excellent osax by Lyomei Sakai [1], for instance:


set x to {name:"Mark", Question:"How does AS"}
do AEFlattenDesc x
--> dle2
does AS


Emmanuel

[1] <http://www.occn.zaq.ne.jp/ski/lib/osaxen.htm#aedata>
_______________________________________________
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: 
 >Re: [appscript] looking for feedback (From: "Mark J. Reed" <email@hidden>)

  • Prev by Date: Re: records [was Re: [appscript] looking for feedback]
  • Next by Date: Re: Producing Unicode-only characters
  • Previous by thread: Re: records [was Re: [appscript] looking for feedback]
  • Next by thread: Re: [appscript] looking for feedback
  • Index(es):
    • Date
    • Thread