Applescript, cross reference the same information across multiple scripts.
I have 3 Scripts that I need to use independently of each other, yet they all share the same information.
Ideally I need to update that information so that i don't have to update 3 scripts.
How can I achieve this? One of the scripts is also a droplet.
This is the info I would need to access
property tightcut : ""
property shadowcut : ""
property brandTable : {¬
{brandID:{"AP88"}, brandGroup:{"Apricot", 1500, 1500, true, false, "FFFFFF", tightcut, true, true, false, true}}, ¬
{brandID:{"BA44"}, brandGroup:{"Banana", 1020, 1530, false, false, "F4F4F4", shadowcut, true, true, false, true}}, ¬
{brandID:{"CA22", "CA84"}, brandGroup:{"Cabbage", 1196, 1300, true, false, "FFFFFF", tightcut, true, true, false, true}} ¬
}
Currently I access it like this
set brandGroup to my get_brandGroup(brandTable, missing value, brandID)