applescript - Using lists from another script -


in applescript can use list script eg have in 1 script

set example {"a","b"} 

and in have

choose list example  

can used in editor or need app?

/tmp/a.scpt:

property example : {"a", "b"} 

another script:

set s (load script "/tmp/a.scpt") example of s -- {"a", "b"} 

Comments

Popular posts from this blog

css - Which browser returns the correct result for getBoundingClientRect of an SVG element? -

gcc - Calling fftR4() in c from assembly -

Function that returns a formatted array in VBA -