(I've sent a similar message this moring to MacOSX-dev@omni...,
so if you read both lists, sorry for the cross-post.)
I'm attempting to integrate some applescript into a C++ application I'm
writing. I need to pass data to and receive results from the
applescript I call. After finding OSASetProperty, I thought using
properties to pass the data would work.
But in trying to implement it, I receive the error "A variable is
accessed that has no value." (OSAUndefinedVariable). The documentation
states that the property will be created if it doesn't exist, so I must
be doing something wrong.
Here's the code I'm using that tries to set the property: