I'd like to use my environment variables, which were defined in my environment.plist file, in my applescript.

How do I do that, for instance:

log "Glassfish Home: " & AS_HOME

Where AS_HOME is my environment variable.

1 Answer 1


Try this:

log "Glassfish Home: " & (system attribute "AS_HOME")

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .