Saturday, January 16, 2021

#1 2021-01-10 10:32:32 pm

olli
Member
Registered: 2008-11-01
Posts: 43

Dictionaries in Applescript ?

In plain Applescript I'm looking for a data-structure in which I can store a few Key:Value pairs at run time - like dictionaries in Python.

I found an old thread saying that Applescript doesn't have something like dictionaries. Does this still hold true?

Model: iMac, MacBook (plus iPad, iPhone)
Browser: Firefox 78.0
Operating System: macOS 10.14


Filed under: , data-structures, key-value

Offline

 

#2 2021-01-11 09:58:00 am

scrutinizer82
Member
Registered: 2015-08-04
Posts: 80

Re: Dictionaries in Applescript ?

Yes. You have to make a record the same way as before.


Scripting in Mac OS X 10.7.5, OS X 10.9.5, macOS 10.14.6

Offline

 

#3 2021-01-13 01:28:42 am

olli
Member
Registered: 2008-11-01
Posts: 43

Re: Dictionaries in Applescript ?

Thank you. Makes sense.

Offline

 

Board footer

Powered by FluxBB

RSS (new topics) RSS (active topics)