dkrasner / Simpletalk

Apache License 2.0
53 stars 3 forks source link

allowing property name to be a string literal or variable in set #125

Closed dkrasner closed 1 year ago

dkrasner commented 1 year ago

Main Points

It is nice to be able to parametrize prop names, and pass these along in scripts. For example,

on dothis propName, propVal
     set propName to propVal in [objectSpec]
end dothis

tell first button to dothis "text-color" "red"