JimAultWins at yahoo.com
Tue Mar 28 20:11:33 CST 2006
I have not used the return of a value to the calling AppleScript program. I
do use the following:
do codeString as Applescript
to send data to Excel, and also to ask Excel for data, but both originate in
Someone on the list a few months ago was going to send me an example stack
about this, but I cannot remember who.
My solution if I had to program it tonight would be to use the
[trigger the appleevent miscdosc executing a line...
send "revToApp" to me in 1000 millisecs
would fire and pass a global (which was set by a prev handler) to the target
app, like Excel.
I agree, this is a messy way of having to figure things out. I keep
thinking I will get it all figured out someday, build an example stack, and
post it. Funny how Applescript seems to become a quagmire of 'ok, I see
that, but how do you do this?' For me, it often defies logic, even when you
see the solution.
Hope this helps.
On 3/28/06 5:50 PM, "Troy Rollins" <troy_lists at rpsystems.net> wrote:
> On Mar 28, 2006, at 8:12 PM, Jim Ault wrote:
> Jim, my previously working AS/Rev combination involved Rev setting
> the values of Applescript variables via "do script", I'm not sure I
> see how AppleEvents resolves this. Have you done this by any chance?
> How are any values returned to the calling application?
> I can't believe I missed this function's apparent deprecation...
> RPSystems, Ltd.
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription
More information about the use-livecode