What would be the best way to handle a flat data structure with AppleScript?


What would be the best way to handle a flat data structure with AppleScript ?

I would like to use appleScript to get access to an Application A, extract records from that application (for example a table T of n records with 3 properties [record1, property1, property2, property3]) then use it in another Application B to retrieve the property for a given record in that Application.

For example, in B, for every record R, look if there is a matching record in T, and retrieve associate property 1 2 3 from it.
The table would be 500 to 10 000 records long.

I'm wondering :

  • what data structure to store the table and access the info rapidly
  • what interim storage for the table (file, clipboard, textEdit…)

Thanks for your answers.

Author: Subham

Leave a Reply

Your email address will not be published. Required fields are marked *