Send variables back to Rev from Applescript
Thierry Arbellot
thierry.arbellot at wanadoo.fr
Fri Aug 20 08:34:29 EDT 2004
I haven't too much experience with Applescript in Rev, but I can help
in a simple script.
I use the following script to get the physical ram of the computer and
I get the returned value into "the result" variable.
do "get (system attribute " "e& "ram " "e& ") / 1048 div
1000" as appleScript
put the result into theRAM
Thierry
On Friday, Aug 20, 2004, at 14:21 Europe/Paris, Marian Petrides wrote:
> Richard's query about Applescript got me thinking about ways to use
> Applescripts in Rev code. One thing that isn't clear to me, however,
> is whether if you execute an Applescript using:
>
> do fld 1 as applescript
>
> and that Applescript returns a value, is there a way to capture that
> value and use it in other Revolution code? If so, how would one send
> a value (or better yet a list of values) back from Applescript to Rev?
>
> Thanks.
>
> M
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
More information about the use-livecode
mailing list