So I'm writing a program that periodically adds things to a list. That's the easy part. However, each item in the list has it's own separate list associated with it. So let's say my script adds something to the first list, that would mean it would need to create the corresponding list that goes along with that entry, but I don't know how to make applescript make it's own variables. I'll make a diagram to try to explain this.
Initial List. . . .Sub_lists
. . .|. .. . . . .Entry1-1
. . \|/ . . . . Entry1-2
Entry1--------Entry1-3
. . . . . . Entry2-1
Entry2-- Entry2-2
. . . . . . Entry2-3
Entry3---Entry3-1
. . . . . .\Entry3-2
. . . . . . Entry3-3
So if I make Entry4, I would need the program to make the sublist that includes Entry4-1, Entry4-2, and Entry4-3.
Then, if I make Entry5, again I would need the corresponding sublist, but with a different name (so I can save all of the sublists separately)
Hmm, I just thought maybe I could use files, and output the stored lists into a text file.... I'll try that too.
Anybody have a way I could just make variables like I was saying? Thanks!
Initial List. . . .Sub_lists
. . .|. .. . . . .Entry1-1
. . \|/ . . . . Entry1-2
Entry1--------Entry1-3
. . . . . . Entry2-1
Entry2-- Entry2-2
. . . . . . Entry2-3
Entry3---Entry3-1
. . . . . .\Entry3-2
. . . . . . Entry3-3
So if I make Entry4, I would need the program to make the sublist that includes Entry4-1, Entry4-2, and Entry4-3.
Then, if I make Entry5, again I would need the corresponding sublist, but with a different name (so I can save all of the sublists separately)
Hmm, I just thought maybe I could use files, and output the stored lists into a text file.... I'll try that too.
Anybody have a way I could just make variables like I was saying? Thanks!